Skip to content

Commit

Permalink
fix: don't use global affinity value in tolerations (#42)
Browse files Browse the repository at this point in the history
  • Loading branch information
echozio authored Jul 25, 2024
1 parent 9526760 commit ac38e76
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion templates/bulker/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ spec:
affinity:
{{- toYaml . | nindent 8 }}
{{- end }}
{{- with (.Values.bulker.tolerations | default .Values.global.affinity) }}
{{- with (.Values.bulker.tolerations | default .Values.global.tolerations) }}
tolerations:
{{- toYaml . | nindent 8 }}
{{- end }}
Expand Down
2 changes: 1 addition & 1 deletion templates/event-log-init/job.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ spec:
affinity:
{{- toYaml . | nindent 8 }}
{{- end }}
{{- with (.Values.eventLogInit.tolerations | default .Values.global.affinity) }}
{{- with (.Values.eventLogInit.tolerations | default .Values.global.tolerations) }}
tolerations:
{{- toYaml . | nindent 8 }}
{{- end }}
Expand Down
2 changes: 1 addition & 1 deletion templates/event-log-trim/cronjob.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ spec:
affinity:
{{- toYaml . | nindent 12 }}
{{- end }}
{{- with (.Values.eventLogTrim.tolerations | default .Values.global.affinity) }}
{{- with (.Values.eventLogTrim.tolerations | default .Values.global.tolerations) }}
tolerations:
{{- toYaml . | nindent 12 }}
{{- end }}
Expand Down
2 changes: 1 addition & 1 deletion templates/migration/job.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ spec:
affinity:
{{- toYaml . | nindent 8 }}
{{- end }}
{{- with (.Values.migration.tolerations | default .Values.global.affinity) }}
{{- with (.Values.migration.tolerations | default .Values.global.tolerations) }}
tolerations:
{{- toYaml . | nindent 8 }}
{{- end }}
Expand Down

0 comments on commit ac38e76

Please sign in to comment.