Hello! I'm using a the `prefect.yaml` file to depl...
# ask-community
a
Hello! I'm using a the
prefect.yaml
file to deploy my deployments with a Kubernetes Worker. I was wondering if there is a way within the
prefect.yaml
to specify to the worker (in a dynamic fashion) that some secrets need to be mounted, etc. I know that we can define
{{ variables }}
but it's too restrictive for my use case (I don't know in advance the number of secrets that I have to mount)
With the old agent way, there was a possibility to use JSON Patch to customize the Kubernetes Manifest, but I don't think it's possible anymore
What I did so far is invoking directly the Kube API to retreive my secrets but it's not super clean because I can't the flow locally, then