diff --git a/charts/postgres-cluster/Chart.yaml b/charts/postgres-cluster/Chart.yaml index cf8c620..bcffc30 100644 --- a/charts/postgres-cluster/Chart.yaml +++ b/charts/postgres-cluster/Chart.yaml @@ -1,6 +1,6 @@ apiVersion: v2 name: postgres-cluster -version: 5.0.2 +version: 5.0.3 description: Cloudnative-pg Cluster keywords: - database diff --git a/charts/postgres-cluster/README.md b/charts/postgres-cluster/README.md index 65abf36..c088781 100644 --- a/charts/postgres-cluster/README.md +++ b/charts/postgres-cluster/README.md @@ -1,6 +1,6 @@ # postgres-cluster -![Version: 5.0.2](https://img.shields.io/badge/Version-5.0.2-informational?style=flat-square) ![AppVersion: v1.25.1](https://img.shields.io/badge/AppVersion-v1.25.1-informational?style=flat-square) +![Version: 5.0.3](https://img.shields.io/badge/Version-5.0.3-informational?style=flat-square) ![AppVersion: v1.25.1](https://img.shields.io/badge/AppVersion-v1.25.1-informational?style=flat-square) Cloudnative-pg Cluster diff --git a/charts/postgres-cluster/templates/prometheus-rule.yaml b/charts/postgres-cluster/templates/prometheus-rule.yaml index 9959b07..3a5fc2e 100644 --- a/charts/postgres-cluster/templates/prometheus-rule.yaml +++ b/charts/postgres-cluster/templates/prometheus-rule.yaml @@ -2,10 +2,10 @@ apiVersion: monitoring.coreos.com/v1 kind: PrometheusRule metadata: - name: {{ include "cluster.name" . }}-alert-rules - namespace: {{ include "cluster.namespace" . }} + name: {{ include "cluster.name" $ }}-alert-rules + namespace: {{ include "cluster.namespace" $ }} labels: - {{- include "cluster.labels" . | nindent 4 }} + {{- include "cluster.labels" $ | nindent 4 }} {{- with .Values.cluster.additionalLabels }} {{ toYaml . | nindent 4 }} {{- end }} diff --git a/charts/postgres-cluster/templates/scheduled-backup.yaml b/charts/postgres-cluster/templates/scheduled-backup.yaml index c46cf37..46409dc 100644 --- a/charts/postgres-cluster/templates/scheduled-backup.yaml +++ b/charts/postgres-cluster/templates/scheduled-backup.yaml @@ -8,7 +8,7 @@ metadata: name: {{ include "cluster.name" $context }}-{{ .name }}-scheduled-backup namespace: {{ include "cluster.namespace" $ }} labels: - {{- include "cluster.labels" . | nindent 4 }} + {{- include "cluster.labels" $ | nindent 4 }} {{- with .Values.cluster.additionalLabels }} {{ toYaml . | nindent 4 }} {{- end }}