Skip to content

Commit

Permalink
Change heading level
Browse files Browse the repository at this point in the history
  • Loading branch information
corneliusweig committed Mar 31, 2019
1 parent c1b3026 commit 000b2c6
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,14 @@ A kubectl plugin to ease merging of kubeconfig files

## Usage

#### Merge several kubeconfig files
### Merge several kubeconfig files
```bash
konfig-merge config1 config2 > merged-config
```
This variant creates a self-contained kubeconfig where all credentials are stored inline in the kubeconfig.
If you want to preserve the structure and keep credentials separate, see `--preserve-structure`.

#### Merge several kubeconfig files
### Merge several kubeconfig files
```bash
konfig-merge --preserve-structure config1 config2 > merged-config
# or
Expand All @@ -22,7 +22,7 @@ For example, if credentials were stored in separate files, they are still kept s
**Caveat** If you merge kubeconfigs from different directories, referencing credentials in relative local paths, theses file links will break.
Remove the `--preserve-structure` option for these cases.

#### Extract a minimal kubeconfig for some context
### Extract a minimal kubeconfig for some context
This will extract a minimal kubeconfig with a single context `minikube`:
```bash
# extract context minikube from the default kubeconfig
Expand Down
6 changes: 3 additions & 3 deletions doc/USAGE.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,14 @@ The following assumes that you have installed `konfig-merge` via
kubectl krew install config-merge
```

#### Merge several kubeconfig files
### Merge several kubeconfig files
```bash
kubectl config-merge config1 config2 > merged-config
```
This variant creates a self-contained kubeconfig where all credentials are stored inline in the kubeconfig.
If you want to preserve the structure and keep credentials separate, see `--preserve-structure`.

#### Merge several kubeconfig files
### Merge several kubeconfig files
```bash
kubectl config-merge --preserve-structure config1 config2 > merged-config
# or
Expand All @@ -29,7 +29,7 @@ For example, if credentials were stored in separate files, they are still kept s
**Caveat** If you merge kubeconfigs from different directories, referencing credentials in relative local paths, theses file links will break.
Remove the `--preserve-structure` option for these cases.

#### Extract a minimal kubeconfig for some context
### Extract a minimal kubeconfig for some context
This will extract a minimal kubeconfig with a single context `minikube`:
```bash
# extract context minikube from the default kubeconfig
Expand Down

0 comments on commit 000b2c6

Please sign in to comment.