Skip to content

fix: use quote function to guarentee all crons #184

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

Merged

Conversation

osamamagdy
Copy link

If you tried to use a cron schedule value like */2 * * * * it will fail with the error
Error: UPGRADE FAILED: YAML parse error on wrongsecrets-ctf-party/templates/cleanup/cron-job.yaml: error converting YAML to JSON: yaml: line 6: did not find expected alphabetic or numeric character
The reason of this is that Helm doesn't always quote all values by default so we need to pipe it to the quote function.

@commjoen commjoen merged commit 51e74aa into OWASP:main Feb 18, 2023
@commjoen
Copy link
Collaborator

Thank you so much! Nice catch for Linux ;-)

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