helm: fix duplicate tolerations

Fix duplicates tolerations in operator Deployment

Resolves https://github.com/rook/rook/issues/13416

Signed-off-by: Julien Francoz <julien-github@francoz.net>
(cherry picked from commit 1171b60862)
This commit is contained in:
Julien Francoz authored and Mergify committed 2023-12-18 20:01:33 +00:00
1 parent 8f6d9c5b24
commit 608091ddf7
1 file changed
+3 -4
@@ -32,6 +32,9 @@ spec:
key: node.kubernetes.io/unreachable
operator: Exists
tolerationSeconds: 5
{{- if .Values.tolerations }}
{{ toYaml .Values.tolerations | indent 8 }}
{{- end }}
containers:
- name: rook-ceph-operator
image: "{{ .Values.image.repository }}:{{ .Values.image.tag }}"
@@ -110,10 +113,6 @@ spec:
nodeSelector:
{{ toYaml .Values.nodeSelector | indent 8 }}
{{- end }}
{{- if .Values.tolerations }}
tolerations:
{{ toYaml .Values.tolerations | indent 8 }}
{{- end }}
{{- if .Values.rbacEnable }}
serviceAccountName: rook-ceph-system
{{- end }}