[bitnami/ghost] Remove duplicated empty password check common.validations.values.mysql.passwords (#29442)

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

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

* Update CHANGELOG.md

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

* Update Chart.yaml

Signed-off-by: Carlos Rodríguez Hernández <carlosrh@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: Carlos Rodríguez Hernández <carlosrh@vmware.com>
Co-authored-by: Bitnami Containers <bitnami-bot@vmware.com>
Co-authored-by: Carlos Rodríguez Hernández <carlosrh@vmware.com>
This commit is contained in:
Léo Colombaro
2024-09-19 12:28:11 +02:00
committed by GitHub
parent 22aa911f72
commit d0609765be
3 changed files with 7 additions and 7 deletions

View File

@@ -1,8 +1,12 @@
# Changelog
## 21.1.33 (2024-09-16)
## 21.1.34 (2024-09-17)
* [bitnami/ghost] Release 21.1.33 ([#29456](https://github.com/bitnami/charts/pull/29456))
* [bitnami/ghost] Remove duplicated empty password check `common.validations.values.mysql.passwords` ([#29442](https://github.com/bitnami/charts/pull/29442))
## <small>21.1.33 (2024-09-16)</small>
* [bitnami/ghost] Release 21.1.33 (#29456) ([4d18bb3](https://github.com/bitnami/charts/commit/4d18bb3d392562d43f476657bfaab1432a3063d3)), closes [#29456](https://github.com/bitnami/charts/issues/29456)
## <small>21.1.32 (2024-09-06)</small>

View File

@@ -40,4 +40,4 @@ maintainers:
name: ghost
sources:
- https://github.com/bitnami/charts/tree/main/bitnami/ghost
version: 21.1.33
version: 21.1.34

View File

@@ -142,10 +142,6 @@ host. To configure Ghost to use and external database host:
{{- $requiredGhostPasswordError := include "common.validations.values.single.empty" $requiredGhostPassword -}}
{{- $passwordValidationErrors = append $passwordValidationErrors $requiredGhostPasswordError -}}
{{- end -}}
{{- if .Values.mysql.enabled }}
{{- $mysqlPasswordValidationErrors := include "common.validations.values.mysql.passwords" (dict "secret" $databaseSecretName "subchart" true "context" $) -}}
{{- $passwordValidationErrors = append $passwordValidationErrors $mysqlPasswordValidationErrors -}}
{{- end }}
{{- include "common.errors.upgrade.passwords.empty" (dict "validationErrors" $passwordValidationErrors "context" $) -}}
{{- include "common.warnings.resources" (dict "sections" (list "" "volumePermissions") "context" $) }}
{{- include "common.warnings.modifiedImages" (dict "images" (list .Values.image .Values.volumePermissions.image) "context" $) }}