Difference between revisions of "Kubectl create secret"
Jump to navigation
Jump to search
↑ https://kubernetes.io/docs/tasks/configure-pod-container/pull-image-private-registry/#registry-secret-existing-credentials
(2 intermediate revisions by the same user not shown) | |||
Line 4: | Line 4: | ||
* <code>[[kubectl create]] secret</code> | * <code>[[kubectl create]] secret</code> | ||
* <code>[[kubectl create secret generic]] [[kubectl create secret generi -h|-h]]</code> | * <code>[[kubectl create secret generic]] [[kubectl create secret generi -h|-h]]</code> | ||
+ | * <code>[[kubectl create secret docker-registry]]</code> | ||
* <code>[[kubectl create secret docker-registry -h]]</code> | * <code>[[kubectl create secret docker-registry -h]]</code> | ||
* <code>[[kubectl create secret tls]]</code> | * <code>[[kubectl create secret tls]]</code> | ||
Line 14: | Line 15: | ||
− | == Related | + | == Related == |
* <code>[[kubectl get secrets]]</code> | * <code>[[kubectl get secrets]]</code> | ||
* <code>[[kubectl describe]] secrets/MY_SECRET_NAME</code> | * <code>[[kubectl describe]] secrets/MY_SECRET_NAME</code> | ||
Line 20: | Line 21: | ||
* <code>[[ansible-vault encrypt]]</code> | * <code>[[ansible-vault encrypt]]</code> | ||
* <code>[[kubectl apply -f ./secret.yaml]]</code> | * <code>[[kubectl apply -f ./secret.yaml]]</code> | ||
+ | * Lowercase [[RFC 1123]] | ||
== Activities == | == Activities == |
Latest revision as of 05:29, 18 July 2024
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[edit]
kubectl get secrets
kubectl describe secrets/MY_SECRET_NAME
secret.yml
ansible-vault encrypt
kubectl apply -f ./secret.yaml
- Lowercase RFC 1123
Activities[edit]
See also[edit]
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: