Created
June 29, 2018 20:46
-
-
Save jiang-wei/25e0444c5d74c26b649e91fa42b91858 to your computer and use it in GitHub Desktop.
kubectl update secret
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 create secret generic production-tls --from-file=./tls.key --from-file=./tls.crt --dry-run -o yaml | kubectl apply -f - | |
| kubectl create secret tls production-tls --key=./tls.key --cert=./tls.crt --dry-run -o yaml | kubectl apply -f - |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment