Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

how to pass docker hub credentials for k8s pods

ambarishs-MacBook-Pro:gke ambarish$ kubectl create secret docker-registry private-registry-key --docker-username="devopsrecipes" --docker-password="xxxxxx" --docker-email="username@example.com" --docker-server="https://index.docker.io/v1/"secret "private-registry-key" created
Source by blog.shippable.com #
 
PREVIOUS NEXT
Tagged: #pass #docker #hub #credentials #pods
ADD COMMENT
Topic
Name
2+4 =