[bitnami/redis] only send cert in healthcheck if authClients is true (#2966)

* [redis] only send cert in healthcheck if authClients is true

* bump chart version
This commit is contained in:
Ashu Goel
2020-06-30 04:06:55 -04:00
committed by GitHub
parent 58d2be9c17
commit 8df88a83b2
2 changed files with 9 additions and 5 deletions

View File

@@ -1,6 +1,6 @@
apiVersion: v1
name: redis
version: 10.7.5
version: 10.7.6
appVersion: 6.0.5
description: Open source, advanced key-value store. It is often referred to as a data structure server since keys can contain strings, hashes, lists, sets and sorted sets.
keywords:

View File

@@ -28,9 +28,11 @@ data:
{{- if .Values.tls.enabled }}
-p $REDIS_TLS_PORT \
--tls \
--cert {{ template "redis.tlsCert" . }} \
--key {{ template "redis.tlsCertKey" . }} \
--cacert {{ template "redis.tlsCACert" . }} \
{{- if .Values.tls.authClients }}
--cert {{ template "redis.tlsCert" . }} \
--key {{ template "redis.tlsCertKey" . }} \
{{- end }}
{{- else }}
-p $REDIS_PORT \
{{- end }}
@@ -59,9 +61,11 @@ data:
{{- if .Values.tls.enabled }}
-p $REDIS_TLS_PORT \
--tls \
--cert {{ template "redis.tlsCert" . }} \
--key {{ template "redis.tlsCertKey" . }} \
--cacert {{ template "redis.tlsCACert" . }} \
{{- if .Values.tls.authClients }}
--cert {{ template "redis.tlsCert" . }} \
--key {{ template "redis.tlsCertKey" . }} \
{{- end }}
{{- else }}
-p $REDIS_PORT \
{{- end }}