[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 <h.purmann@googlemail.com>
This commit is contained in:
Hendrik Purmann
2019-09-03 10:31:43 -07:00
committed by Kubernetes Prow Robot
parent aee3c5e267
commit bb2e6ce9a2
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -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
@@ -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 }}