kubectl create secret
https://jamesdefabia.github.io/docs/user-guide/kubectl/kubectl_create_secret_generic/
kubectl create secret
kubectl create secret generic -h
kubectl create secret docker-registry
kubectl create secret docker-registry -h
kubectl create secret tls
kubectl create secret tls -h
kubectl create secret --help
kubectl create secret generic regcred --from-file=.dockerconfigjson=<path/to/.docker/config.json> --type=kubernetes.io/dockerconfigjson [1]
Related
kubectl get secrets
kubectl describe secrets/MY_SECRET_NAME
secret.yml
ansible-vault encrypt
kubectl apply -f ./secret.yaml
- Lowercase RFC 1123
Activities
See also
kubectl create secret [ docker-registry | generic | tls | --help ]
- Kubernetes secrets:
kubectl [ get | create | describe | delete | secret ] secrets
,secret.yml, kind: Secret, secretKeyRef, default-token, imagePullSecrets:, kubernetes.io/dockerconfigjson
Advertising: