genkubeconf v0.0.1
genkubeconf
Generate kubeconfig files simply
Install via download (currently Linux only)
- download
- extract:
tar -xf genkubeconf-linux.tar.gz; cd genkubeconf
- run:
./genkubeconf kube-proxy 127.0.0.1 system:kube-proxy --dry-run
Run via Docker
- Create a Bash alias
alias genkubeconf="docker run -v $PWD/kubeconfigfiles:/app gerrywastaken/genkubeconf"
genkubeconf kube-proxy 127.0.0.1 system:kube-proxy
Run via Crystal
- Install Crystal https://crystal-lang.org/install/
- Download this code
- Build
shards build genkubeconf
- Run
bin/genkubeconf --help
Usage
genkubeconf kube-proxy 127.0.0.1 system:kube-proxy
Development
- Install Crystal: https://crystal-lang.org/install/
- Download this code and navigate to the directory
- Make your change
- Compile:
shards build --debug genkubeconf
- Test:
bin/genkubeconf --help
Contributing
- Fork it (https://github.com/gerrywastaken/genkubeconf/fork)
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create a new Pull Request
Contributors
- Gerry - creator and maintainer
Repository
genkubeconf
Owner
Statistic
- 0
- 0
- 0
- 0
- 1
- almost 5 years ago
- January 20, 2020
License
MIT License
Links
Synced at
Sun, 22 Dec 2024 14:30:29 GMT
Languages