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: ensure all env var values are quoted #515

Merged
merged 5 commits into from
Oct 18, 2024
Merged

fix: ensure all env var values are quoted #515

merged 5 commits into from
Oct 18, 2024

Conversation

scme0
Copy link
Contributor

@scme0 scme0 commented Oct 17, 2024

What

Strings are currently not quoted in the envVars sections for engine and dind pods in the helm chart. This is an issue if you put an env value in that is actually an integer or a float but put quotes around it. The helm chart will think it's a string and so leave the value unquoted which will then cause issues when the yaml is parsed inside the runner (in venona's go code).

Why

Env vars are always strings so we can wrap them all in quotes no matter what type they are. I've removed the type checking code for this reason.

Notes

Jira: https://codefresh-io.atlassian.net/browse/CR-25435

@scme0 scme0 requested a review from a team as a code owner October 17, 2024 15:13
@scme0 scme0 changed the title ensure all env var values are quoted fix: ensure all env var values are quoted Oct 17, 2024
@scme0 scme0 merged commit 28aa90c into main Oct 18, 2024
2 checks passed
@scme0 scme0 deleted the cr-25435 branch October 18, 2024 07:33
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