Compare commits

..

2 Commits

Author SHA1 Message Date
de2b30b476 chagne default backup behavior
All checks were successful
release-charts-postgres-cluster / release (push) Successful in 15s
renovate / renovate (push) Successful in 36s
2025-10-02 21:56:30 -05:00
58e380c9ea fix values
All checks were successful
release-charts-postgres-cluster / release (push) Successful in 15s
renovate / renovate (push) Successful in 39s
2025-10-02 21:41:55 -05:00
4 changed files with 5 additions and 7 deletions

View File

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

View File

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

View File

@@ -19,10 +19,8 @@ spec:
{{- end }} {{- end }}
postgresUID: {{ include "cluster.postgresUID" . }} postgresUID: {{ include "cluster.postgresUID" . }}
postgresGID: {{ include "cluster.postgresGID" . }} postgresGID: {{ include "cluster.postgresGID" . }}
{{ if (eq .Values.backup.method "objectStore") }}
plugins:
{{ end }}
{{- range $objectStore := .Values.backup.objectStore }} {{- range $objectStore := .Values.backup.objectStore }}
plugins:
- name: barman-cloud.cloudnative-pg.io - name: barman-cloud.cloudnative-pg.io
enabled: true enabled: true
isWALArchiver: {{ $objectStore.isWALArchiver | default true }} isWALArchiver: {{ $objectStore.isWALArchiver | default true }}
@@ -34,7 +32,7 @@ spec:
serverName: "{{ include "cluster.name" $ }}-backup-{{ $objectStore.index }}" serverName: "{{ include "cluster.name" $ }}-backup-{{ $objectStore.index }}"
{{- end }} {{- end }}
{{- end }} {{- end }}
{{ if eq .Values.recovery.method "objectStore" }} {{ if (eq .Values.recovery.method "objectStore") }}
externalClusters: externalClusters:
- name: recovery - name: recovery
plugin: plugin:

View File

@@ -9,7 +9,7 @@ metadata:
labels: labels:
{{- include "cluster.labels" $context | nindent 4 }} {{- include "cluster.labels" $context | nindent 4 }}
spec: spec:
immediate: {{ .immediate | default true }} immediate: {{ .immediate | default false }}
suspend: {{ .suspend | default false }} suspend: {{ .suspend | default false }}
schedule: {{ .schedule | quote | required "Schedule is required" }} schedule: {{ .schedule | quote | required "Schedule is required" }}
backupOwnerReference: {{ .backupOwnerReference | default "self" }} backupOwnerReference: {{ .backupOwnerReference | default "self" }}