Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

how to pass k8s secret in run command line

kubectl run --image=your.private.registry/nginx nginx --overrides='{ "spec": { "imagePullSecrets": [{"name": "your-registry-secret"}] } }'
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #pass #secret #run #command #line
ADD COMMENT
Topic
Name
6+1 =