Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

- Improve CNPG templates.

### Fixed

- Fix crossplane azure container tags.

## [2.33.0] - 2026-03-02

### Changed
Expand Down
9 changes: 6 additions & 3 deletions helm/grafana/templates/cnpg/crossplane/azure/container.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{{- if and (include "grafana.crossplane.enabled" .) (include "grafana.crossplane.isAzure" .) .Values.postgresqlCluster.crossplane.azure.enabled -}}
{{- $tags := include "grafana.crossplane.tags" . | fromYaml -}}
{{- $containerName := .Values.postgresqlCluster.crossplane.azure.container.name -}}
{{- $storageAccountName := include "grafana.crossplane.azure.storageAccountName" (dict "containerName" $containerName) -}}
---
apiVersion: storage.azure.upbound.io/v1beta1
kind: Container
Expand All @@ -13,9 +13,12 @@ metadata:
spec:
forProvider:
containerAccessType: {{ .Values.postgresqlCluster.crossplane.azure.containerAccessType | default "private" }}
{{- if $tags }}
metadata:
app: grafana-postgresql
managed-by: crossplane
{{- range $key, $value := $tags }}
{{ $key }}: {{ $value | quote }}
{{- end }}
{{- end }}
storageAccountNameSelector:
matchLabels:
{{- include "grafana.crossplane.labels" (dict "ctx" . "component" "storage") | nindent 8 }}
Expand Down