Hi guys is this how to deploy a prefect-worker with helm to access a private registry ? I keep getting access forbidden when running a flow (inside a kube job)
This will just set the pull secret for the worker itself, not the pod it launches to run the flow. You probably need to set a pod template on the workpool
m
Mehdi
11/20/2024, 2:28 PM
ok @Rob Rati I guess it should be provided under section
baseJobTemplate
👍 1
r
Rob Rati
11/20/2024, 2:31 PM
That is the name of the configuration that needs to be set. I haven't done it via a helm chart, just in the UI.
No, @Tony Lim you have to do that through a serviceaccount
I’ve run this command ‘prefect-worker’ being my service account, I think it defaults to prefect
Copy code
k patch serviceaccount prefect-worker -n prefect -p '{"imagePullSecrets": [{"name": "gitlab-registry-secret"}]}'
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.