diff --git a/aws-ebs-csi-driver/templates/manifest.yaml b/aws-ebs-csi-driver/templates/manifest.yaml index 51b90c4b45..2f3528539a 100644 --- a/aws-ebs-csi-driver/templates/manifest.yaml +++ b/aws-ebs-csi-driver/templates/manifest.yaml @@ -338,13 +338,12 @@ spec: hostNetwork: true priorityClassName: system-node-critical tolerations: - - key: CriticalAddonsOnly - operator: Exists +{{ toYaml .Values.tolerations | indent 8 }} containers: - name: ebs-plugin securityContext: privileged: true - image: "{{ .Values.image.repository }}:{{ .Values.image.tag }}" + image: "{{ .Values.image.repository }}:{{ .Values.image.tag }}" args: - --endpoint=$(CSI_ENDPOINT) - --logtostderr diff --git a/aws-ebs-csi-driver/values.yaml b/aws-ebs-csi-driver/values.yaml index c650793dce..25b4d1b69a 100644 --- a/aws-ebs-csi-driver/values.yaml +++ b/aws-ebs-csi-driver/values.yaml @@ -36,7 +36,9 @@ resources: {} nodeSelector: {} -tolerations: [] +tolerations: + - key: CriticalAddonsOnly + operator: Exists affinity: {}