From d81a6141c356c251d383c598cd2c01d5c87d4a1f Mon Sep 17 00:00:00 2001 From: Yi Siqi Date: Wed, 29 Dec 2021 18:17:50 +0800 Subject: [PATCH] [bitnami/redis] remove password empty validation (#8518) --- bitnami/redis/Chart.yaml | 2 +- bitnami/redis/templates/NOTES.txt | 9 --------- 2 files changed, 1 insertion(+), 10 deletions(-) diff --git a/bitnami/redis/Chart.yaml b/bitnami/redis/Chart.yaml index e519e872ae..f14027973a 100644 --- a/bitnami/redis/Chart.yaml +++ b/bitnami/redis/Chart.yaml @@ -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 diff --git a/bitnami/redis/templates/NOTES.txt b/bitnami/redis/templates/NOTES.txt index ebcda3a3aa..1ca4e75520 100644 --- a/bitnami/redis/templates/NOTES.txt +++ b/bitnami/redis/templates/NOTES.txt @@ -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 }}