type: kubernetes.io/dockerconfigjson
that allows you to create pods that use this Secret to pull an image from a private docker registry or repository.docker login
base64 /home/$USER/.docker/config.json
type:secret
named configjson
in a CloudTruth project called K8s.kubectl apply -f <(cloudtruth --project K8s template get regcred)
kubectl get secret myregistrykey --output=yaml
docker login
base64 /home/$USER/.docker/config.json
type:secret
named configjson
in a CloudTruth project called K8s
.kubernetes.io/dockerconfigjson
Secret.kubectl get secret docker-reg-cred --output=yaml -n demokubetruth
dockerconfigure
that contains the following docker login keys and values.kubernetes.io/dockerconfigjson
Secret based on your docker login and registry information in the CloudTruth project.kubectl get secret docker-reg-cred --output=yaml -n demokubetruth