From cb5c199d03c8541dadd14f2b03588132ee93345f Mon Sep 17 00:00:00 2001 From: Alex Lebens Date: Sat, 24 May 2025 01:19:55 -0500 Subject: [PATCH] fix name helper --- charts/postgres-cluster/Chart.yaml | 2 +- charts/postgres-cluster/README.md | 2 +- charts/postgres-cluster/templates/object-store.yaml | 6 +++--- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/charts/postgres-cluster/Chart.yaml b/charts/postgres-cluster/Chart.yaml index 70f526f..e17753b 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.8 +version: 6.0.9 description: Cloudnative-pg Cluster keywords: - database diff --git a/charts/postgres-cluster/README.md b/charts/postgres-cluster/README.md index 84f0edb..52bebea 100644 --- a/charts/postgres-cluster/README.md +++ b/charts/postgres-cluster/README.md @@ -1,6 +1,6 @@ # postgres-cluster -![Version: 6.0.8](https://img.shields.io/badge/Version-6.0.8-informational?style=flat-square) ![AppVersion: v1.26.0](https://img.shields.io/badge/AppVersion-v1.26.0-informational?style=flat-square) +![Version: 6.0.9](https://img.shields.io/badge/Version-6.0.9-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 08d0ef0..d6b2d8c 100644 --- a/charts/postgres-cluster/templates/object-store.yaml +++ b/charts/postgres-cluster/templates/object-store.yaml @@ -14,10 +14,10 @@ spec: configuration: destinationPath: {{ $context.destinationPath }} endpointURL: {{ $context.endpointURL }} - {{- if $context.endpointCA.enabled }} + {{- if .endpointCA.enabled }} endpointCA: - name: {{ $context.endpointCA.name }} - key: {{ $context.endpointCA.key }} + name: {{ .endpointCA.name }} + key: {{ .endpointCA.key }} {{- end }} {{- if not (empty $context.clusterName) }} serverName: "{{ $context.clusterName }}-backup-{{ $context.index }}"