Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save fonsecas72/3cae01bf199264acd703f4d0dccf2343 to your computer and use it in GitHub Desktop.
Save fonsecas72/3cae01bf199264acd703f4d0dccf2343 to your computer and use it in GitHub Desktop.
How to copy secrets to another namespace
kubectl -n source-namespace get secret some-secret -o yaml --export | kubectl -n dest-namespace apply -f -
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment