[bitnami/mariadb-galera] allow template in existingSecret and extraVolumes (#27915)

* allow template in existingSecret value

Signed-off-by: rajeevnaikte <rajeevnaikte@gmail.com>

* allow templates in extraVolumes

Signed-off-by: rajeevnaikte <rajeevnaikte@gmail.com>

* Update version

Signed-off-by: rajeevnaikte <rajeevnaikte@gmail.com>

* Update Chart.yaml

Signed-off-by: rajeevnaikte <rajeevnaikte@gmail.com>

* bump version

Signed-off-by: rajeevnaikte <rajeevnaikte@gmail.com>

* Update CHANGELOG.md

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

---------

Signed-off-by: rajeevnaikte <rajeevnaikte@gmail.com>
Signed-off-by: Bitnami Containers <bitnami-bot@vmware.com>
Co-authored-by: Bitnami Containers <bitnami-bot@vmware.com>
This commit is contained in:
rajeevnaikte
2024-07-18 06:09:18 -04:00
committed by GitHub
parent a4143c5e39
commit 6d7ad68f94
4 changed files with 8 additions and 4 deletions

View File

@@ -1,8 +1,12 @@
# Changelog
## 14.0.1 (2024-07-12)
* [bitnami/mariadb-galera] allow template in existingSecret and extraVolumes ([#27915](https://github.com/bitnami/charts/pull/27915))
## 14.0.0 (2024-07-11)
* [bitnami/mariadb-galera] Release 14.0.0 ([#27908](https://github.com/bitnami/charts/pull/27908))
* [bitnami/mariadb-galera] Release 14.0.0 (#27908) ([faedc05](https://github.com/bitnami/charts/commit/faedc0596e9734afaed3f1715a12906538505b12)), closes [#27908](https://github.com/bitnami/charts/issues/27908)
## <small>13.2.7 (2024-07-03)</small>

View File

@@ -33,4 +33,4 @@ maintainers:
name: mariadb-galera
sources:
- https://github.com/bitnami/charts/tree/main/bitnami/mariadb-galera
version: 14.0.0
version: 14.0.1

View File

@@ -31,7 +31,7 @@ Return the secret with MariaDB credentials
*/}}
{{- define "mariadb-galera.secretName" -}}
{{- if .Values.existingSecret -}}
{{- printf "%s" .Values.existingSecret -}}
{{- printf "%s" (tpl .Values.existingSecret $) -}}
{{- else -}}
{{- printf "%s" (include "common.names.fullname" .) -}}
{{- end -}}

View File

@@ -499,7 +499,7 @@ spec:
- name: empty-dir
emptyDir: {}
{{- if .Values.extraVolumes }}
{{- toYaml .Values.extraVolumes | nindent 8 }}
{{- include "common.tplvalues.render" (dict "value" .Values.extraVolumes "context" $) | nindent 8 }}
{{- end }}
{{- if and .Values.persistence.enabled .Values.persistence.existingClaim }}
- name: data