[bitnami/kong] Remove duplicated empty password check common.validations.values.cassandra.passwords (#29441)

* [bitnami/kong] Remove duplicated empty password check `common.validations.values.cassandra.passwords`

Signed-off-by: Léo Colombaro <git@colombaro.fr>

* Update CHANGELOG.md

Signed-off-by: Bitnami Containers <bitnami-bot@vmware.com>

* Update CHANGELOG.md

Signed-off-by: Bitnami Containers <bitnami-bot@vmware.com>

* Update CHANGELOG.md

Signed-off-by: Bitnami Containers <bitnami-bot@vmware.com>

---------

Signed-off-by: Léo Colombaro <git@colombaro.fr>
Signed-off-by: Bitnami Containers <bitnami-bot@vmware.com>
Signed-off-by: Juan José Martos <jotamartos@gmail.com>
Co-authored-by: Bitnami Containers <bitnami-bot@vmware.com>
Co-authored-by: Juan José Martos <jotamartos@gmail.com>
This commit is contained in:
Léo Colombaro
2024-09-19 12:51:16 +02:00
committed by GitHub
parent d0609765be
commit 139f5a54c7
3 changed files with 7 additions and 8 deletions

View File

@@ -1,8 +1,12 @@
# Changelog
## 13.0.2 (2024-09-19)
## 13.0.3 (2024-09-19)
* [bitnami/kong] Release 13.0.2 ([#29509](https://github.com/bitnami/charts/pull/29509))
* [bitnami/kong] Remove duplicated empty password check `common.validations.values.cassandra.passwords` ([#29441](https://github.com/bitnami/charts/pull/29441))
## <small>13.0.2 (2024-09-19)</small>
* [bitnami/kong] Release 13.0.2 (#29509) ([accb05e](https://github.com/bitnami/charts/commit/accb05efca0ba859d82ed0dd42e16be990f20eda)), closes [#29509](https://github.com/bitnami/charts/issues/29509)
## <small>13.0.1 (2024-09-18)</small>

View File

@@ -45,4 +45,4 @@ maintainers:
name: kong
sources:
- https://github.com/bitnami/charts/tree/main/bitnami/kong
version: 13.0.2
version: 13.0.3

View File

@@ -104,13 +104,9 @@ Access the Kong admin by using the following commands:
{{- include "common.warnings.rollingTag" .Values.ingressController.image }}
{{- end }}
{{- $passwordValidationErrors := list }}
If you want to upgrade the installation you will need to re-set the database credentials. Execute the following command
{{- if ne .Values.database "postgresql" }}
{{- $dbSecretName := include "kong.cassandra.secretName" . -}}
{{- $dbPasswordValidationErrors := include "common.validations.values.cassandra.passwords" (dict "secret" $dbSecretName "subchart" true "context" $) -}}
{{- $passwordValidationErrors = append $passwordValidationErrors $dbPasswordValidationErrors -}}
kubectl get secret --namespace {{ .Release.Namespace }} {{ include "kong.cassandra.secretName" . }} -o jsonpath="{.data.cassandra-password}" | base64 -d
{{- end }}
@@ -120,7 +116,6 @@ WARNING: You made the Kong admin {{ if contains "ClusterIP" .Values.service.type
{{- end }}
{{- include "kong.validateValues" . }}
{{- include "common.errors.upgrade.passwords.empty" (dict "validationErrors" $passwordValidationErrors "context" $) -}}
{{- end }}
{{- include "common.warnings.resources" (dict "sections" (list "ingressController" "kong" "migration") "context" $) }}
{{- include "common.warnings.modifiedImages" (dict "images" (list .Values.image .Values.ingressController.image .Values.postgresql.image) "context" $) }}