Created
June 25, 2021 10:00
-
-
Save fonsecas72/3cae01bf199264acd703f4d0dccf2343 to your computer and use it in GitHub Desktop.
How to copy secrets to another namespace
This file contains hidden or 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
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