Hi guys. Anybody had success making the Agent/Job recognize `imagePullSecrets` using the Helm chart?...
w
Hi guys. Anybody had success making the Agent/Job recognize
imagePullSecrets
using the Helm chart? I can make it work when I manually write the
deployment
and pass the
--image-pull-secrets
argument, but I can’t make it work passing the secret argument on the helm chart. Any ideas what I might be doing wrong? I doing something like
imagePullSecrets: mysecretname
in the Helm (inside the “job”, inside the “agent” part)
Just tested passing the envvar
IMAGE_PULL_SECRETS
in the agent deployment and it works as well. inside the pod, the env is defined as IMAGE_PULL_SECRETS=“mysecret”. When using the helm is a list: IMAGE_PULL_SECRETS=“[\“mysecret\“]” which seems weird, but maybe is just escaping the quotes. passing a string only also does something like this: IMAGE_PULL_SECRETS=“\”mysecret\“”
k
Hey @wiretrack, will ask the team about this
w
@Kevin Kho, thanks. We’ve done some testing and it seems that if we remove the “quotes” option from the chart template it works perfectly. Still not sure whether it’s a bug or we are just using it the wrong way.
k
I did ping an engineer to respond to this so we’ll see when they respond.
Is this your issue?
w
Yep, that’s exactly the same behavior. I missed that issue on my research, thanks!