Skip to content

Commit

Permalink
Merge pull request rook#13432 from rook/mergify/bp/release-1.13/pr-13418
Browse files Browse the repository at this point in the history
helm: Fix duplicate tolerations (backport rook#13418)
  • Loading branch information
travisn authored Dec 18, 2023
2 parents 8f6d9c5 + 608091d commit 7c6a751
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions deploy/charts/rook-ceph/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}"
Expand Down Expand Up @@ -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 }}
Expand Down

0 comments on commit 7c6a751

Please sign in to comment.