Compare commits

...

1 Commits

Author SHA1 Message Date
487786455c change default credential secret name 2024-04-13 03:28:27 -06:00
2 changed files with 3 additions and 3 deletions

View File

@@ -1,6 +1,6 @@
apiVersion: v2 apiVersion: v2
name: postgres-cluster name: postgres-cluster
version: 2.0.0 version: 2.1.0
description: Chart for cloudnative-pg cluster description: Chart for cloudnative-pg cluster
keywords: keywords:
- database - database

View File

@@ -45,7 +45,7 @@ Generate name for object store credentials
{{- if .Values.recovery.endpointCredentials -}} {{- if .Values.recovery.endpointCredentials -}}
{{- .Values.recovery.endpointCredentials -}} {{- .Values.recovery.endpointCredentials -}}
{{- else -}} {{- else -}}
{{- printf "postgresql-%s-cluster-backup-secret" .Release.Name | trunc 63 | trimSuffix "-" -}} {{- printf "%s-backup-secret" (include "cluster.name" .) | trunc 63 | trimSuffix "-" -}}
{{- end }} {{- end }}
{{- end }} {{- end }}
@@ -53,7 +53,7 @@ Generate name for object store credentials
{{- if .Values.backup.endpointCredentials -}} {{- if .Values.backup.endpointCredentials -}}
{{- .Values.backup.endpointCredentials -}} {{- .Values.backup.endpointCredentials -}}
{{- else -}} {{- else -}}
{{- printf "postgresql-%s-cluster-backup-secret" .Release.Name | trunc 63 | trimSuffix "-" -}} {{- printf "%s-backup-secret" (include "cluster.name" .) | trunc 63 | trimSuffix "-" -}}
{{- end }} {{- end }}
{{- end }} {{- end }}