What is the best way to propagate kubernetes secre...
# ask-community
l
What is the best way to propagate kubernetes secrets to a deployed flow? I am deploying flows with python. Alternatively, how can I customize my deployed flows to mount volumes on the Kubernetes pods?
v
It should be used Advanced functionality in Based Job Template in Work Pools. It's a Helm chart template. You can use there everything what you can use in Helm chart. Go to
"job_configuration": {
section. For example,
Copy code
"args": "{{ command }}",
                "name": "prefect-job",
                "image": "{{ image }}",
                "volumeMounts": [
                  {
                    "name": "my-store",
                    "readOnly": true,
                    "mountPath": "/mymount"
                  }
                ],
l
i will give that a shot thank you