diff --git a/charts/postgres-cluster/Chart.yaml b/charts/postgres-cluster/Chart.yaml index b6106ec..b4ed06c 100644 --- a/charts/postgres-cluster/Chart.yaml +++ b/charts/postgres-cluster/Chart.yaml @@ -1,6 +1,6 @@ apiVersion: v2 name: postgres-cluster -version: 6.0.1 +version: 6.0.2 description: Cloudnative-pg Cluster keywords: - database diff --git a/charts/postgres-cluster/README.md b/charts/postgres-cluster/README.md index f886018..0625372 100644 --- a/charts/postgres-cluster/README.md +++ b/charts/postgres-cluster/README.md @@ -1,6 +1,6 @@ # postgres-cluster -![Version: 6.0.1](https://img.shields.io/badge/Version-6.0.1-informational?style=flat-square) ![AppVersion: v1.26.0](https://img.shields.io/badge/AppVersion-v1.26.0-informational?style=flat-square) +![Version: 6.0.2](https://img.shields.io/badge/Version-6.0.2-informational?style=flat-square) ![AppVersion: v1.26.0](https://img.shields.io/badge/AppVersion-v1.26.0-informational?style=flat-square) Cloudnative-pg Cluster diff --git a/charts/postgres-cluster/templates/scheduled-backup.yaml b/charts/postgres-cluster/templates/scheduled-backup.yaml index 4373ff4..2257091 100644 --- a/charts/postgres-cluster/templates/scheduled-backup.yaml +++ b/charts/postgres-cluster/templates/scheduled-backup.yaml @@ -5,8 +5,8 @@ apiVersion: postgresql.cnpg.io/v1 kind: ScheduledBackup metadata: - name: {{ include "cluster.name" $context }}-{{ .name }}-scheduled-backup - namespace: {{ include "cluster.namespace" $context }} + name: "{{ include "cluster.name" . }}-{{ $context.name }}-scheduled-backup" + namespace: {{ include "cluster.namespace" . }} labels: {{- include "cluster.labels" $context | nindent 4 }} spec: @@ -15,7 +15,7 @@ spec: schedule: {{ $context.schedule | quote }} backupOwnerReference: {{ $context.backupOwnerReference }} cluster: - name: {{ include "cluster.name" $context }}-cluster + name: {{ include "cluster.name" . }}-cluster method: plugin pluginConfiguration: name: {{ $context.plugin }}