From 7c2d396f4cf4c1a339d6d7092f2f0eeb1d408dbe Mon Sep 17 00:00:00 2001 From: Rhys Evans Date: Fri, 30 Aug 2024 10:10:59 +0100 Subject: [PATCH] feat: add tolerations to operator chart (#1051) added tolerations Signed-off-by: Rhys Co-authored-by: Rhys --- charts/redis-operator/Chart.yaml | 2 +- charts/redis-operator/templates/operator-deployment.yaml | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/charts/redis-operator/Chart.yaml b/charts/redis-operator/Chart.yaml index 326809d5a..cfbac9ca2 100644 --- a/charts/redis-operator/Chart.yaml +++ b/charts/redis-operator/Chart.yaml @@ -1,6 +1,6 @@ --- apiVersion: v2 -version: 0.18.0 +version: 0.18.1 appVersion: "0.18.0" description: Provides easy redis setup definitions for Kubernetes services, and deployment. engine: gotpl diff --git a/charts/redis-operator/templates/operator-deployment.yaml b/charts/redis-operator/templates/operator-deployment.yaml index eb05d945d..e95d7e069 100644 --- a/charts/redis-operator/templates/operator-deployment.yaml +++ b/charts/redis-operator/templates/operator-deployment.yaml @@ -70,6 +70,9 @@ spec: {{- with .Values.affinity }} affinity: {{ toYaml . | nindent 8 }} {{- end }} + {{- with .Values.tolerations }} + tolerations: {{ toYaml . | nindent 8 }} + {{- end }} serviceAccountName: "{{ .Values.serviceAccountName }}" serviceAccount: "{{ .Values.serviceAccountName }}" {{- if .Values.redisOperator.webhook }}