Secret vars are now passed separately to a job apart from regular env vars so that they can be distinguished by a plugin and handled in a different way.
Infrastructure targets can now mount secret vars to a job regardless of environment variables.
Secret variables are passed as a separate argument, they're no longer mixed with regular env vars.
Infrastructure plugins have to be updated accordingly due to interface change.
Specifically, deploy_job function of JobDeployer class now has
a new argument runtime_secret_vars: Dict[str, str] with secret env vars for a job.
Secret vars are now passed separately to a job apart from regular env vars so that they can be distinguished by a plugin and handled in a different way.
Infrastructure targets can now mount secret vars to a job regardless of environment variables. Secret variables are passed as a separate argument, they're no longer mixed with regular env vars. Infrastructure plugins have to be updated accordingly due to interface change. Specifically,
deploy_job
function ofJobDeployer
class now has a new argumentruntime_secret_vars: Dict[str, str]
with secret env vars for a job.