mirror of
https://github.com/bitnami/charts.git
synced 2026-03-06 15:10:15 +08:00
[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:
@@ -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>
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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" $) }}
|
||||
Reference in New Issue
Block a user