mirror of
https://github.com/bitnami/charts.git
synced 2026-04-05 08:47:10 +08:00
[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:
@@ -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>
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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:
|
||||
|
||||
@@ -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 }}
|
||||
|
||||
Reference in New Issue
Block a user