-
Notifications
You must be signed in to change notification settings - Fork 229
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 extraEnv in gitjob controller template #2650
Conversation
Setting debug to false would put the additional env vars outside the env block.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🦅 👁️ !
I'm adding an initial setup for https://github.com/helm/chart-testing/blob/main/doc/ct_lint.md |
@@ -0,0 +1,2 @@ | |||
apiServerURL: "https://localhost" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Would this file, and other files under charts/fleet{-agent,}/ci
end up being packaged in our charts?
Should we add .helmignore
files to those charts to prevent that?
Apart from that, I'm sligthly concerned about the maintenance overhead of those values files when we add new features involving such values: it looks likely to me that we may forget to update at least some of them to reflect the latest available values.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks, added those .helmignore
files. The actual values in those files don't matter much. I think chart-testing just checks that the result is valid YAML. Not sure if we will ever be able to cover all combinations, but at least this bug would have been catched by the one file with "debug: false".
This adds some example values, especially the helm values affecting blocks, like `debug` often create problems.
fbb309f
to
6c3aff3
Compare
Setting debug to false would put the additional env vars outside the env block.