Created
June 19, 2020 12:20
-
-
Save abelaska/8143425b86e057c4f6aabd23e573472b to your computer and use it in GitHub Desktop.
Merge kubeconfig
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# ~/.bashrc | |
# https://github.com/kubernetes/kubernetes/issues/46381#issuecomment-461404505 | |
function kmerge() { | |
KUBECONFIG=~/.kube/config:$1 kubectl config view --flatten > ~/.kube/mergedkub && mv ~/.kube/mergedkub ~/.kube/config | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment