Difference between revisions of "Kubectl create secret generic"
Jump to navigation
Jump to search
Line 3: | Line 3: | ||
[[kubectl create secret]] generic | [[kubectl create secret]] generic | ||
[[kubectl create secret generic -h]] | [[kubectl create secret generic -h]] | ||
+ | |||
+ | [[kubectl create secret]] generic yoursecret | ||
+ | secret/yoursecret created | ||
kubectl create secret generic | kubectl create secret generic |
Revision as of 10:09, 25 September 2023
kubectl create secret generic kubectl create secret generic -h
kubectl create secret generic yoursecret secret/yoursecret created
kubectl create secret generic error: exactly one NAME is required, got 0 See 'kubectl create secret generic -h' for help and examples
kubectl create secret generic your-secret-name -f /var/tmp/your-secret-definition.yml secret/your-secret-name created
Related
See also
- Kubernetes secrets:
kubectl [ get | create | describe | delete | secret ] secrets
,secret.yml, kind: Secret, secretKeyRef, default-token, imagePullSecrets:, kubernetes.io/dockerconfigjson
Advertising: