Hi Prefect, Is there a way to configure a docker r...
# prefect-community
g
Hi Prefect, Is there a way to configure a docker registry with credentials in a
KubernetesJob
? I want to pull a image from a private registry.
Copy code
reception_deployment : Deployment = Deployment.build_from_flow(
    name="private-flow",
    flow=main_flow,
    output="deployment-private-flow.yaml",
    description="private-flow",
    version="snapshot",
    work_queue_name="kubernetes",
    infrastructure=KubernetesJob(), 
    infra_overrides=dict(
        image="myprivate-image:latest",
        env={},
        finished_job_ttl=300)
    )
I can not pull
"myprivate-image:latest"
Do I have to use
service_account
? ๐Ÿคจ Thank you
โœ… 1
r
๐Ÿ‘ 1
๐Ÿ˜ 1