Last active
September 13, 2020 19:19
-
-
Save nurlanf/9bf6d502b455bc1a218e932cb0145248 to your computer and use it in GitHub Desktop.
Kubernetes tips
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
oldns=default | |
newns=somenamespace | |
secret=mysecret | |
kubectl get secret $secret --namespace=$oldns --export -o yaml | kubectl apply --namespace=$newns -f - |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment