https://github.com/mstryoda/kubeconf
A cli application to merge multiple config files into one kubeconfig or generate a new one.
https://github.com/mstryoda/kubeconf
cli config devops golang kubectl kubernetes
Last synced: about 2 months ago
JSON representation
A cli application to merge multiple config files into one kubeconfig or generate a new one.
- Host: GitHub
- URL: https://github.com/mstryoda/kubeconf
- Owner: mstrYoda
- Created: 2020-08-26T10:58:13.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2022-08-09T22:58:30.000Z (almost 3 years ago)
- Last Synced: 2025-01-31T01:44:11.565Z (4 months ago)
- Topics: cli, config, devops, golang, kubectl, kubernetes
- Language: Go
- Homepage:
- Size: 558 KB
- Stars: 3
- Watchers: 3
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# kubeconf
A cli application to merge multiple config files into one kubeconfig or generate a new one.# Usage
- Merge a new config file directly into /.kube/config:
`kubeconf merge --new-config=newConfig.yaml`
- Show what changes will be added to config file before persisting:
`kubeconf merge --new-config=newConfig.yaml --show-changes`
- Show changes without affecting existing config file:
`kubeconf merge --new-config=newConfig.yaml --show-changes --dry`

- To specify current config path:
`kubeconf merge --kubeconfig=/path/to/config --new-config=newConfig.yaml`
- Write output to another file:
`kubeconf merge --new-config=newConfig.yaml --output=output.yaml`