diff --git a/charts/postgres-cluster/Chart.yaml b/charts/postgres-cluster/Chart.yaml index 21a81e5..a171e8d 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.3 +version: 6.0.4 description: Cloudnative-pg Cluster keywords: - database diff --git a/charts/postgres-cluster/README.md b/charts/postgres-cluster/README.md index 0dee490..86fc462 100644 --- a/charts/postgres-cluster/README.md +++ b/charts/postgres-cluster/README.md @@ -1,6 +1,6 @@ # postgres-cluster -![Version: 6.0.3](https://img.shields.io/badge/Version-6.0.3-informational?style=flat-square) ![AppVersion: v1.26.0](https://img.shields.io/badge/AppVersion-v1.26.0-informational?style=flat-square) +![Version: 6.0.4](https://img.shields.io/badge/Version-6.0.4-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/object-store.yaml b/charts/postgres-cluster/templates/object-store.yaml index 74feff3..b8883e1 100644 --- a/charts/postgres-cluster/templates/object-store.yaml +++ b/charts/postgres-cluster/templates/object-store.yaml @@ -5,10 +5,10 @@ apiVersion: barmancloud.cnpg.io/v1 kind: ObjectStore metadata: - name: "{{ include "cluster.name" . }}-{{ $context.name }}-backup" - namespace: {{ include "cluster.namespace" . }} + name: "{{ include "cluster.name" $context }}-{{ $context.name }}-backup" + namespace: {{ include "cluster.namespace" $context }} labels: - {{- include "cluster.labels" . | nindent 4 }} + {{- include "cluster.labels" $context | nindent 4 }} spec: retentionPolicy: {{ $context.retentionPolicy }} configuration: @@ -22,7 +22,7 @@ spec: {{- if $context.clusterName }} serverName: "{{ $context.clusterName }}-backup-{{ $context.index }}" {{- else }} - serverName: "{{ include "cluster.name" . }}-backup-{{ $context.index }}" + serverName: "{{ include "cluster.name" $context }}-backup-{{ $context.index }}" {{- end }} wal: compression: {{ $context.wal.compression }} @@ -41,14 +41,14 @@ spec: {{- if $context.endpointCredentials }} name: {{ $context.endpointCredentials }} {{- else }} - name: {{- printf "%s-backup-secret" (include "cluster.name" .) | trunc 63 | trimSuffix "-" -}} + name: {{- printf "%s-backup-secret" (include "cluster.name" $context) | trunc 63 | trimSuffix "-" -}} {{- end }} key: ACCESS_KEY_ID secretAccessKey: {{- if $context.endpointCredentials }} name: {{ $context.endpointCredentials }} {{- else }} - name: {{- printf "%s-backup-secret" (include "cluster.name" .) | trunc 63 | trimSuffix "-" -}} + name: {{- printf "%s-backup-secret" (include "cluster.name" $context) | trunc 63 | trimSuffix "-" -}} {{- end }} key: ACCESS_SECRET_KEY {{ end -}}