[bitnami/grafana] Templated Rendering of Grafana Datasource SecretName (#34541)

* [bitnami/grafana] tpl rendering of datasource secretname

Signed-off-by: Daniel W. Hassler <dwhassl@zai.com>

* Update CHANGELOG.md

Signed-off-by: Bitnami Bot <bitnami.bot@broadcom.com>

---------

Signed-off-by: Daniel W. Hassler <dwhassl@zai.com>
Signed-off-by: Bitnami Bot <bitnami.bot@broadcom.com>
Co-authored-by: Bitnami Bot <bitnami.bot@broadcom.com>
This commit is contained in:
hassledw
2025-06-18 12:20:01 -04:00
committed by GitHub
parent cd35dd0a56
commit e4c0e712a8
4 changed files with 9 additions and 5 deletions

View File

@@ -1,8 +1,12 @@
# Changelog
## 12.0.7 (2025-06-18)
## 12.0.8 (2025-06-18)
* [bitnami/grafana] :zap: :arrow_up: Update dependency references ([#34535](https://github.com/bitnami/charts/pull/34535))
* [bitnami/grafana] Templated Rendering of Grafana Datasource SecretName ([#34541](https://github.com/bitnami/charts/pull/34541))
## <small>12.0.7 (2025-06-18)</small>
* [bitnami/grafana] :zap: :arrow_up: Update dependency references (#34535) ([303818e](https://github.com/bitnami/charts/commit/303818e6e5ccb33cbbb3bac0d882f3f809846732)), closes [#34535](https://github.com/bitnami/charts/issues/34535)
## <small>12.0.6 (2025-06-13)</small>

View File

@@ -33,4 +33,4 @@ maintainers:
name: grafana
sources:
- https://github.com/bitnami/charts/tree/main/bitnami/grafana
version: 12.0.7
version: 12.0.8

View File

@@ -367,7 +367,7 @@ spec:
{{- if .Values.datasources.secretName }}
- name: datasources
secret:
secretName: {{ .Values.datasources.secretName }}
secretName: {{ include "common.tplvalues.render" ( dict "value" .Values.datasources.secretName "context" $) }}
{{- else if .Values.datasources.secretDefinition }}
- name: datasources
secret:

View File

@@ -17,7 +17,7 @@ metadata:
secrets:
- name: {{ include "grafana.adminSecretName" . }}
{{- if .Values.datasources.secretName }}
- name: {{ .Values.datasources.secretName }}
- name: {{ include "common.tplvalues.render" ( dict "value" .Values.datasources.secretName "context" $) }}
{{- else if .Values.datasources.secretDefinition }}
- name: {{ include "common.names.fullname" . }}-datasources
{{- end }}