Editing Kubernetes secrets
Jump to navigation
Jump to search
Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 1: | Line 1: | ||
− | https://kubernetes.io/docs/concepts/configuration/secret/ | + | * https://kubernetes.io/docs/concepts/configuration/secret/ |
− | |||
− | |||
− | |||
− | |||
== Examples == | == Examples == | ||
Line 16: | Line 12: | ||
* <code>[[kubectl get secret]]</code> | * <code>[[kubectl get secret]]</code> | ||
* <code>[[kubectl get secrets]]</code> | * <code>[[kubectl get secrets]]</code> | ||
− | * <code>[[kubectl | + | * <code>[[kubectl describe]] secrets/MY_SECRET_NAME</code> |
− | |||
* <code>[[kubectl apply]] -f ./[[secret.yml]]</code> | * <code>[[kubectl apply]] -f ./[[secret.yml]]</code> | ||
* <code>[[kubectl apply]] -k</code> | * <code>[[kubectl apply]] -k</code> | ||
* <code>[[kubectl edit secrets]]</code> | * <code>[[kubectl edit secrets]]</code> | ||
* <code>[[kubectl describe secret]] -n [[kubernetes-dashboard]]</code> | * <code>[[kubectl describe secret]] -n [[kubernetes-dashboard]]</code> | ||
− | |||
== Related terms == | == Related terms == | ||
Line 30: | Line 24: | ||
* <code>[[ConfigMaps]]</code> | * <code>[[ConfigMaps]]</code> | ||
* <code>[[secret not found]]</code> | * <code>[[secret not found]]</code> | ||
+ | * <code>[[kind: Secret]]</code> | ||
* [[Kustomize]] | * [[Kustomize]] | ||
* <code>[[base64 --decode]]; echo</code> | * <code>[[base64 --decode]]; echo</code> | ||
* <code>[[SecretKeyRef]]</code> | * <code>[[SecretKeyRef]]</code> | ||
− | |||
− | |||
− | |||
− | |||
== Activities == | == Activities == | ||
* [[Delete and recreate your secret]] | * [[Delete and recreate your secret]] | ||
− | |||
− | |||
− | |||
== News == | == News == |
Advertising: