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)
wiretrack
09/29/2021, 11:53 PM
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
Kevin Kho
09/30/2021, 1:59 PM
Hey @wiretrack, will ask the team about this
w
wiretrack
09/30/2021, 3:08 PM
@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
Kevin Kho
09/30/2021, 3:10 PM
I did ping an engineer to respond to this so we’ll see when they respond.
Bring your towel and join one of the fastest growing data communities. Welcome to our second-generation open source orchestration platform, a completely rethought approach to dataflow automation.