lemon-lock-92370
07/06/2023, 11:09 AMdatahub-ingestion-cron
in values.yaml to run 5 ingestion crons.
One thing is, we have common env
and envFromSecrets
across all 5 ingestions.
For now, I’m writing all these env variables in every cron jobs each.
Is there a way to avoid this duplication and write it once? (something like datahub-frontend’s extraEnvs?)
datahub-ingestion-cron:
enabled: true
image:
repository: ...
tag: ...
crons:
cron-1: ...
env: --> same as cron-2
common-env: ...
envFromSecrets:
common-env-secrets: ...
cron-2: ...
env:
common-env: ...
envFromSecrets:
common-env-secrets: ...
shy-dog-84302
07/06/2023, 12:14 PMpodSecurityContext
configuration in the cronJobs generated.