From bb2e6ce9a20d782780fc79cf340cd1ad8a7ed670 Mon Sep 17 00:00:00 2001 From: Hendrik Purmann Date: Tue, 3 Sep 2019 19:31:43 +0200 Subject: [PATCH] [stable/redis-ha] Fix additionalAffinities indentation (#16256) When using this value, the identation was incorrectly set, leading to a helm error. ``` ==> Linting redis-ha [ERROR] templates/redis-ha-statefulset.yaml: unable to parse YAML error converting YAML to JSON: yaml: line 29: did not find expected key ``` Signed-off-by: Hendrik Purmann --- stable/redis-ha/Chart.yaml | 2 +- stable/redis-ha/templates/redis-ha-statefulset.yaml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/stable/redis-ha/Chart.yaml b/stable/redis-ha/Chart.yaml index c23b4fca63..dd5e4c08f3 100644 --- a/stable/redis-ha/Chart.yaml +++ b/stable/redis-ha/Chart.yaml @@ -6,7 +6,7 @@ keywords: - redis - keyvalue - database -version: 3.7.2 +version: 3.7.3 appVersion: 5.0.5 description: Highly available Kubernetes implementation of Redis icon: https://upload.wikimedia.org/wikipedia/en/thumb/6/6b/Redis_Logo.svg/1200px-Redis_Logo.svg.png diff --git a/stable/redis-ha/templates/redis-ha-statefulset.yaml b/stable/redis-ha/templates/redis-ha-statefulset.yaml index 48be7c94bf..c5b8345dfc 100644 --- a/stable/redis-ha/templates/redis-ha-statefulset.yaml +++ b/stable/redis-ha/templates/redis-ha-statefulset.yaml @@ -51,7 +51,7 @@ spec: {{- end }} {{- else }} {{- if .Values.additionalAffinities }} - {{ toYaml .Values.additionalAffinities | indent 8 }} +{{ toYaml .Values.additionalAffinities | indent 8 }} {{- end }} podAntiAffinity: {{- if .Values.hardAntiAffinity }}