Skip to content

Instantly share code, notes, and snippets.

@danielr1996
Created September 22, 2023 22:55
Show Gist options
  • Save danielr1996/632c5d9304d522bf86501d1a0693b178 to your computer and use it in GitHub Desktop.
Save danielr1996/632c5d9304d522bf86501d1a0693b178 to your computer and use it in GitHub Desktop.
kubemerge
alias kubemerge='kubectl konfig merge $(gfind ~/.kube -mindepth 1 -path ~/.kube/cache -prune -o -not -name config -not -name kubectx -printf "%p ") > ~/.kube/config && chmod 600 ~/.kube/config'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment