From d148cb179d5449ca1d21eac9687acdcc1897c9a6 Mon Sep 17 00:00:00 2001 From: Raul Puente Date: Sat, 7 Oct 2023 16:41:51 +0200 Subject: [PATCH] Added .tolerations on _helpers.tpl --- charts/redis-cluster/templates/_helpers.tpl | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/charts/redis-cluster/templates/_helpers.tpl b/charts/redis-cluster/templates/_helpers.tpl index 7ca79dbd..66e82e7e 100644 --- a/charts/redis-cluster/templates/_helpers.tpl +++ b/charts/redis-cluster/templates/_helpers.tpl @@ -31,6 +31,10 @@ pdb: nodeSelector: {{- toYaml .nodeSelector | nindent 4 }} {{- end }} +{{- if .tolerations }} +tolerations: + {{- toYaml .tolerations | nindent 4 }} +{{- end }} {{- end -}} {{/* Generate sidecar properties */}}