From 2cbb6a6d8ce238e43671f50f58dfab1060a6144f Mon Sep 17 00:00:00 2001 From: Ivan Kurnosov Date: Tue, 26 Nov 2019 10:36:30 +1300 Subject: [PATCH] Added tolerations for node support --- aws-ebs-csi-driver/templates/manifest.yaml | 5 ++--- aws-ebs-csi-driver/values.yaml | 4 +++- 2 files changed, 5 insertions(+), 4 deletions(-) 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: {}