mirror of
https://github.com/bitnami/charts.git
synced 2026-03-09 07:27:18 +08:00
[bitnami/redis] remove password empty validation (#8518)
This commit is contained in:
@@ -25,4 +25,4 @@ name: redis
|
||||
sources:
|
||||
- https://github.com/bitnami/bitnami-docker-redis
|
||||
- http://redis.io/
|
||||
version: 15.6.9
|
||||
version: 15.6.10
|
||||
|
||||
@@ -180,15 +180,6 @@ To connect to your database from outside the cluster execute the following comma
|
||||
{{- include "common.warnings.rollingTag" .Values.volumePermissions.image }}
|
||||
{{- include "common.warnings.rollingTag" .Values.sysctl.image }}
|
||||
{{- include "redis.validateValues" . }}
|
||||
{{- $requiredPassword := list -}}
|
||||
{{- $secretName := include "redis.secretName" . -}}
|
||||
{{- $secretPasswordKey := include "redis.secretPasswordKey" . -}}
|
||||
{{- if and .Values.auth.enabled (not .Values.auth.existingSecret) (not .Values.global.redis.password) -}}
|
||||
{{- $requiredRedisPassword := dict "valueKey" "auth.password" "secret" $secretName "field" $secretPasswordKey -}}
|
||||
{{- $requiredPassword = append $requiredPassword $requiredRedisPassword -}}
|
||||
{{- end -}}
|
||||
{{- $requiredRedisPasswordErrors := include "common.validations.values.multiple.empty" (dict "required" $requiredPassword "context" $) -}}
|
||||
{{- include "common.errors.upgrade.passwords.empty" (dict "validationErrors" (list $requiredRedisPasswordErrors) "context" $) -}}
|
||||
|
||||
{{- if and (eq .Values.architecture "replication") .Values.sentinel.enabled (eq .Values.sentinel.service.type "NodePort") (not .Release.IsUpgrade ) }}
|
||||
{{- if $.Values.sentinel.service.nodePorts.sentinel }}
|
||||
|
||||
Reference in New Issue
Block a user