You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is it possible to better document how we can, post Secret, SecretExport and Secret Placeholder created consume the secret using the property imagePullSecrets within a Pod or Deployment ?
Next, we must update the service account to patch it to set "imagePullSecrets": [{"name":"my-reg-creds"} but apparently this is not enough as no secret is copied within the namespace demo1
kc create ns demo1
kubectl patch serviceaccount default -n demo1 -p '{"imagePullSecrets": [{"name":"my-reg-creds"}]}'
kc get sa,secret -n demo1
NAME SECRETS AGE
serviceaccount/default 1 100s
NAME TYPE DATA AGE
secret/default-token-h8cvt kubernetes.io/service-account-token 3 100s
Question: Could the patch step be done automatically ? How ?
The text was updated successfully, but these errors were encountered:
Question
Is it possible to better document how we can, post
Secret
,SecretExport
andSecret
Placeholder created consume the secret using the propertyimagePullSecrets
within a Pod or Deployment ?Example of resources to be created
Next, we must update the service account to patch it to set
"imagePullSecrets": [{"name":"my-reg-creds"}
but apparently this is not enough as no secret is copied within the namespacedemo1
Question: Could the
patch
step be done automatically ? How ?The text was updated successfully, but these errors were encountered: