Difference between revisions of "Kubectl create secret"

From wikieduonline
Jump to navigation Jump to search
 
(5 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 -h]]</code>
 
* <code>[[kubectl create secret tls -h]]</code>
 
** https://kubernetes.io/docs/tasks/configmap-secret/managing-secret-using-kubectl/
 
** https://kubernetes.io/docs/tasks/configmap-secret/managing-secret-using-kubectl/
 
* <code>[[kubectl create secret --help]]</code>
 
* <code>[[kubectl create secret --help]]</code>
 +
 +
[[kubectl create secret generic]] regcred --from-file=.dockerconfigjson=<path/to/.docker/config.json> --type=[[kubernetes.io/dockerconfigjson]] <ref>https://kubernetes.io/docs/tasks/configure-pod-container/pull-image-private-registry/#registry-secret-existing-credentials</ref>
 +
  
 
   
 
   
== Related commands ==
+
== 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 16: 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 ==
Line 21: Line 27:
  
 
== See also ==
 
== See also ==
* {{kubeclt create secret}}
+
* {{kubectl create secret}}
 
* {{Kubernetes secrets}}  
 
* {{Kubernetes secrets}}  
  
 
[[Category:Kubernetes]]
 
[[Category:Kubernetes]]
 
[[Category:Secrets]]
 
[[Category:Secrets]]

Latest revision as of 05:29, 18 July 2024

Advertising: