diff --git a/charts/aws-ebs-csi-driver/templates/controller.yaml b/charts/aws-ebs-csi-driver/templates/controller.yaml index e541c23d79..147d9da906 100644 --- a/charts/aws-ebs-csi-driver/templates/controller.yaml +++ b/charts/aws-ebs-csi-driver/templates/controller.yaml @@ -41,11 +41,6 @@ spec: {{- toYaml . | nindent 8 }} {{- end }} tolerations: - - key: CriticalAddonsOnly - operator: Exists - - operator: Exists - effect: NoExecute - tolerationSeconds: 300 {{- with .Values.controller.tolerations }} {{- toYaml . | nindent 8 }} {{- end }} diff --git a/charts/aws-ebs-csi-driver/values.yaml b/charts/aws-ebs-csi-driver/values.yaml index bbc143f78f..6fde5127b3 100644 --- a/charts/aws-ebs-csi-driver/values.yaml +++ b/charts/aws-ebs-csi-driver/values.yaml @@ -186,7 +186,12 @@ controller: create: true # A service account will be created for you if set to true. Set to false if you want to use your own. name: ebs-csi-controller-sa # Name of the service-account to be used/created. annotations: {} - tolerations: [] + tolerations: + - key: CriticalAddonsOnly + operator: Exists + - operator: Exists + effect: NoExecute + tolerationSeconds: 300 # TSCs without the label selector stanza # # Example: