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 cronjob bug #20

Closed
wants to merge 1 commit into from
Closed

fix cronjob bug #20

wants to merge 1 commit into from

Conversation

mbaykara
Copy link

@mbaykara mbaykara commented Oct 4, 2023

In environments that have implemented taints and tolerations, it is crucial to define tolerations for cronjobs as well; otherwise, the spiked pods will remain in a "pending" status.

Copy link
Collaborator

@grieshaber grieshaber left a comment

Choose a reason for hiding this comment

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

Thanks for your PR @mbaykara and sorry for the super late response.

I asked for a small change and then will merge it asap :)

@@ -5,6 +5,7 @@
{{- $pullPolicy := .Values.cronJob.image.pullPolicy -}}
{{- $failedJobsHistoryLimit := .Values.cronJob.failedJobsHistoryLimit -}}
{{- $successfulJobsHistoryLimit := .Values.cronJob.successfulJobsHistoryLimit -}}
{{- $global := . }}
Copy link
Collaborator

Choose a reason for hiding this comment

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

I think there is no need for that Mapping - you can always just use $.Values to access the root values.

@grieshaber
Copy link
Collaborator

Resolved with #22

@grieshaber grieshaber closed this Jan 19, 2024
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