add region option
All checks were successful
renovate / renovate (push) Successful in 50s
release-charts-generic-device-plugin / release (push) Successful in 15s
release-charts-postgres-cluster / release (push) Successful in 20s

This commit is contained in:
2025-10-25 23:39:52 -05:00
parent 1df6be47bf
commit e0774edd94
4 changed files with 9 additions and 4 deletions

View File

@@ -1,6 +1,6 @@
apiVersion: v2
name: postgres-cluster
version: 6.14.0
version: 6.15.0
description: Cloudnative-pg Cluster
keywords:
- database

View File

@@ -1,6 +1,6 @@
# postgres-cluster
![Version: 6.14.0](https://img.shields.io/badge/Version-6.14.0-informational?style=flat-square) ![AppVersion: v1.27.0](https://img.shields.io/badge/AppVersion-v1.27.0-informational?style=flat-square)
![Version: 6.15.0](https://img.shields.io/badge/Version-6.15.0-informational?style=flat-square) ![AppVersion: v1.27.0](https://img.shields.io/badge/AppVersion-v1.27.0-informational?style=flat-square)
Cloudnative-pg Cluster

View File

@@ -42,6 +42,11 @@ spec:
secretAccessKey:
name: {{ .endpointCredentials | default (printf "%s-cluster-backup-secret" (include "cluster.name" $context) | trunc 63 | trimSuffix "-") }}
key: ACCESS_SECRET_KEY
{{- if .endpointCredentialsIncludeRegion }}
region:
name: {{ .endpointCredentials | default (printf "%s-cluster-backup-secret" (include "cluster.name" $context) | trunc 63 | trimSuffix "-") }}
key: ACCESS_REGION
{{- end }}
{{ end -}}
{{ end }}