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

Fix empty env and volumeMounts object on default setup #3166

Merged
merged 1 commit into from
Dec 18, 2023

Conversation

nikola-jokic
Copy link
Contributor

Previously, helm chart added an env and a volumeMounts field by default, which can in some circumstances be empty. That may cause some issues and workarounds adding fields just to avoid spec failures.

This PR checks if any of the envs and volumeMounts are going to be set, and only then provide a field.

Fixes #2949

@nikola-jokic nikola-jokic added the gha-runner-scale-set Related to the gha-runner-scale-set mode label Dec 18, 2023
@nikola-jokic nikola-jokic merged commit 3135292 into master Dec 18, 2023
18 checks passed
@nikola-jokic nikola-jokic deleted the nikola-jokic/helm-fix-empty-env-object branch December 18, 2023 15:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
gha-runner-scale-set Related to the gha-runner-scale-set mode
Projects
None yet
Development

Successfully merging this pull request may close these issues.

gha-runner-scale-set is not usable with ArgoCD
2 participants