File tree Expand file tree Collapse file tree 2 files changed +10
-3
lines changed
helm/grafana/templates/cnpg/crossplane/azure Expand file tree Collapse file tree 2 files changed +10
-3
lines changed Original file line number Diff line number Diff line change @@ -11,6 +11,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
1111
1212- Improve CNPG templates.
1313
14+ ### Fixed
15+
16+ - Fix crossplane azure container tags.
17+
1418## [ 2.33.0] - 2026-03-02
1519
1620### Changed
Original file line number Diff line number Diff line change 11{{- if and (include "grafana.crossplane.enabled" .) (include "grafana.crossplane.isAzure" .) .Values.postgresqlCluster.crossplane.azure.enabled -}}
2+ {{- $tags := include "grafana.crossplane.tags" . | fromYaml -}}
23{{- $containerName := .Values.postgresqlCluster.crossplane.azure.container.name -}}
3- {{- $storageAccountName := include "grafana.crossplane.azure.storageAccountName" (dict "containerName" $containerName) -}}
44---
55apiVersion : storage.azure.upbound.io/v1beta1
66kind : Container
@@ -13,9 +13,12 @@ metadata:
1313spec :
1414 forProvider :
1515 containerAccessType : {{ .Values.postgresqlCluster.crossplane.azure.containerAccessType | default "private" }}
16+ {{- if $tags }}
1617 metadata :
17- app : grafana-postgresql
18- managed-by : crossplane
18+ {{- range $key, $value := $tags }}
19+ {{ $key }}: {{ $value | quote }}
20+ {{- end }}
21+ {{- end }}
1922 storageAccountNameSelector :
2023 matchLabels :
2124 {{- include "grafana.crossplane.labels" (dict "ctx" . "component" "storage") | nindent 8 }}
You can’t perform that action at this time.
0 commit comments