Skip to content

Instantly share code, notes, and snippets.

@notz
Created May 17, 2023 09:36
Show Gist options
  • Save notz/008f089e7a9a366f653d7b0a23a788eb to your computer and use it in GitHub Desktop.
Save notz/008f089e7a9a366f653d7b0a23a788eb to your computer and use it in GitHub Desktop.
Merge two kubeconfig files
KUBECONFIG=~/.kube/config:~/downloads/kubeconfig.yml kubectl config view --flatten > ~/.kube/config
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment