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

@@ -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 }}