Difference between revisions of "Kubectl create secret"

From wikieduonline
Jump to navigation Jump to search
Line 9: Line 9:
 
** 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>
 +
  
 
   
 
   

Revision as of 20:55, 17 July 2024

Advertising: