Remove NoExecute toleration for attacher, but add CriticalAddons back for provisioner and attacher

This commit is contained in:
Vitaliy Filippov 2022-11-17 01:21:59 +03:00
parent 514c0131dc
commit 9dac91e1ec
4 changed files with 10 additions and 7 deletions

View file

@ -78,7 +78,9 @@ spec:
serviceAccount: csi-attacher-sa
tolerations:
- key: node-role.kubernetes.io/master
operator: "Exists"
operator: Exists
- key: CriticalAddonsOnly
operator: Exists
containers:
- name: csi-attacher
image: {{ .Values.images.attacher }}

View file

@ -72,6 +72,8 @@ spec:
tolerations:
- key: node-role.kubernetes.io/master
operator: Exists
- key: CriticalAddonsOnly
operator: Exists
{{- with .Values.tolerations.controller }}
{{- toYaml . | nindent 8 }}
{{- end }}

View file

@ -81,9 +81,6 @@ spec:
operator: Exists
- key: CriticalAddonsOnly
operator: Exists
- operator: Exists
effect: NoExecute
tolerationSeconds: 300
containers:
- name: csi-attacher
image: quay.io/k8scsi/csi-attacher:v3.0.1

View file

@ -71,7 +71,9 @@ spec:
serviceAccount: csi-provisioner-sa
tolerations:
- key: node-role.kubernetes.io/master
operator: "Exists"
operator: Exists
- key: CriticalAddonsOnly
operator: Exists
containers:
- name: csi-provisioner
image: quay.io/k8scsi/csi-provisioner:v2.1.0