[stable/redis-ha] Correcting the number of arguments to toYaml (#16870)

* [stable/redis-ha] Correcting the number of arguments to toYaml from 2 to 1

Signed-off-by: Michael Frayer <frayerm@gmail.com>

* Adding haproxy annotation to the CI test case

This will aid in testing for any template errors when applying annotations on
the "haproxy" Deployment.

Signed-off-by: Michael Frayer <frayerm@gmail.com>

* [stable/redis-ha] Bumping Chart patch version

Signed-off-by: Michael Frayer <frayerm@gmail.com>

* [stable/redis-ha] Bumping PATCH version

Signed-off-by: Michael Frayer <frayerm@gmail.com>
This commit is contained in:
Michael Frayer
2019-09-16 12:18:38 -07:00
committed by Kubernetes Prow Robot
parent 03cdc92a7a
commit 16398d97c1
3 changed files with 4 additions and 2 deletions
+1 -1
View File
@@ -6,7 +6,7 @@ keywords:
- redis
- keyvalue
- database
version: 3.7.7
version: 3.7.8
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
@@ -2,6 +2,8 @@
## Enable HAProxy to manage Load Balancing
haproxy:
enabled: true
annotations:
any.domain/key: "value"
serviceAccount:
create: true
exporter:
@@ -26,7 +26,7 @@ spec:
prometheus.io/scrape: "true"
checksum/config: {{ include (print $.Template.BasePath "/redis-ha-configmap.yaml") . | sha256sum }}
{{- if .Values.haproxy.annotations }}
{{ toYaml .Values.haproxy.annotations . | indent 8 }}
{{ toYaml .Values.haproxy.annotations | indent 8 }}
{{- end }}
spec:
# Needed when using unmodified rbac-setup.yml