https://prefect.io logo
Title
a

Adrien Besnard

04/11/2023, 5:19 PM
Hello! I'm using Prefect with Kubernetes and I was wondering what is the best way to pass values that come from
ConfigMap
or `Secret`: • Is it better to have a custom
KubernetesJob
block with the proper customization to reference those resources and then access to the values through environment variables • Or is it better to have a dedicated process to transform
ConfigMap
and
Secret
into blocks?
r

redsquare

04/11/2023, 5:29 PM
json patch the secrets in and the flow job reads the env vars