mirror of
https://github.com/wahyd4/charts.git
synced 2026-08-22 11:35:58 +10:00
[bitnami/harbor] Add Harbor Redis password when using redis chart dependency
Signed-off-by: Miguel A. Cabrera Minagorri <macabrera@bitnami.com>
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
apiVersion: v1
|
||||
name: harbor
|
||||
version: 2.5.2
|
||||
version: 2.5.3
|
||||
appVersion: 1.8.1
|
||||
description: Harbor is an an open source trusted cloud native registry project that stores, signs, and scans content
|
||||
keywords:
|
||||
|
||||
@@ -227,9 +227,12 @@ We truncate at 63 chars because some Kubernetes name fields are limited to this
|
||||
{{- end -}}
|
||||
|
||||
{{- define "harbor.redis.rawPassword" -}}
|
||||
{{- if and (eq .Values.redis.enabled false) .Values.externalRedis.password -}}
|
||||
{{- if and (not .Values.redis.enabled) .Values.externalRedis.password -}}
|
||||
{{- .Values.externalRedis.password -}}
|
||||
{{- end -}}
|
||||
{{- if and .Values.redis.enabled .Values.redis.password -}}
|
||||
{{- .Values.redis.password -}}
|
||||
{{- end -}}
|
||||
{{- end -}}
|
||||
|
||||
{{- define "harbor.redis.escapedRawPassword" -}}
|
||||
|
||||
Reference in New Issue
Block a user