[feature] Allow passing lists of secretRef
and configMapRef
names into worker.extraEnvVarsSecrets
and worker.extraEnvVarsCMs
, respectively.
#421
Labels
In Prefect Worker Helm chart values, it is possible to pass a single name of a
secretRef
intoworker.extraEnvVarsSecret
and a single name ofconfigMapRef
intoworker.extraEnvVarsCM
values.It is common to have multiple secrets used by different workloads and in some cases it is required to have these secrets loaded into the Prefect Worker (for example, when using a Worker with a
Process
Work Pool).Today we must duplicate the code and create a new secret template that contains these secrets so it could be used by the Prefect Worker, and everyone hates to duplicate code 🫣
It would be nice to allow passing lists of
secretRef
names andconfigMapRef
names intoworker.extraEnvVarsSecrets
andworker.extraEnvVarsCMs
, respectively.The text was updated successfully, but these errors were encountered: