Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

helm: create agent's env vars only if input variables are not empty #380

Merged
merged 1 commit into from
Aug 15, 2022

Conversation

mluscon
Copy link

@mluscon mluscon commented Aug 15, 2022

Summary

helm: create agent's env vars only if input variables are not empty

Importance

Without this PR, helm with default values.yaml (e.g. agent: job : imagePullSecrets: []) creates empty environment variable IMAGE_PULL_SECRETS in agent's pod that takes precedes over imagePullSecrets from serviceaccount or job template file.

Checklist

This PR:

  • adds new tests (if appropriate)
  • adds a change file in the changes/ directory (if appropriate)

Copy link
Contributor

@zanieb zanieb left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@zanieb zanieb merged commit b47fccb into PrefectHQ:master Aug 15, 2022
@zanieb zanieb mentioned this pull request Sep 7, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants