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 Chart: Fix default deployment env vars to allow usage of chart as dependency #61

Merged
merged 4 commits into from
Feb 28, 2025

Conversation

pvelop
Copy link
Contributor

@pvelop pvelop commented Feb 27, 2025

If this chart is used as a helm dependency, then it is usual for further values to be set via a separate value file. However, as the env variables are already set as an example in the standard values file of this chart, they cannot be removed completely. However, if the env vars are to be used from a secret (envFromSecret), then these values come into conflict with each other.

This PR comments out the example vars and also fixes an incorrect reference in the deployment template to envFromSecret.

@pvelop
Copy link
Contributor Author

pvelop commented Feb 27, 2025

Will also fix #59

@pvelop pvelop changed the title Fix default deployment env vars to allow usage of chart as dependency Helm Chart: Fix default deployment env vars to allow usage of chart as dependency Feb 28, 2025
Copy link
Contributor

@Ninja243 Ninja243 left a comment

Choose a reason for hiding this comment

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

LGTM!

@Ninja243 Ninja243 merged commit 5d8ec71 into iits-consulting:main Feb 28, 2025
1 check passed
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