https://github.com/dhellmann/metal3-kubeconfig-extractor
Container to generate Bash friendly vars from kubeconfig files
https://github.com/dhellmann/metal3-kubeconfig-extractor
Last synced: 3 months ago
JSON representation
Container to generate Bash friendly vars from kubeconfig files
- Host: GitHub
- URL: https://github.com/dhellmann/metal3-kubeconfig-extractor
- Owner: dhellmann
- License: apache-2.0
- Created: 2019-04-23T20:11:51.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2019-04-23T20:22:37.000Z (about 7 years ago)
- Last Synced: 2025-02-23T10:41:32.987Z (over 1 year ago)
- Language: Shell
- Size: 5.86 KB
- Stars: 0
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# kubeconfig-extractor
## Build status
[](https://quay.io/repository/openshift-metalkube/kubeconfig-extractor)
## Example usage
sudo podman run --volume ${PWD}:/etc/kubernetes/static-pod-resources:z quay.io/openshift-metalkube/kubeconfig-extractor /etc/kubernetes/static-pod-resources/kubeconfig /etc/kubernetes/static-pod-resources/clusterrc
The above takes a kubeconfig file in the current directory and extracts its info into a clusterrc file in the current directory