Compare commits

..

1 Commits

Author SHA1 Message Date
1b4a70439d Update ghcr.io/cloudnative-pg/postgresql Docker tag to v17.5-standard-bullseye
Some checks failed
lint-and-test-charts / lint-test (pull_request) Failing after 22s
2025-05-24 16:50:20 +00:00
12 changed files with 19 additions and 27 deletions

View File

@@ -1,6 +1,6 @@
apiVersion: v2
name: barman-cloud
version: 0.2.5
version: 0.2.2
description: Barman Cloud Plugin
keywords:
- barman-cloud

View File

@@ -1,6 +1,6 @@
# barman-cloud
![Version: 0.2.5](https://img.shields.io/badge/Version-0.2.5-informational?style=flat-square) ![AppVersion: v.0.4.0](https://img.shields.io/badge/AppVersion-v.0.4.0-informational?style=flat-square)
![Version: 0.2.2](https://img.shields.io/badge/Version-0.2.2-informational?style=flat-square) ![AppVersion: v.0.4.0](https://img.shields.io/badge/AppVersion-v.0.4.0-informational?style=flat-square)
Barman Cloud Plugin

View File

@@ -12,7 +12,7 @@ roleRef:
name: metrics-auth-role
subjects:
- kind: ServiceAccount
name: {{ .Release.Name }}-barman-cloud
name: {{ .Release.Name }}-plugin-barman-cloud
namespace: {{ .Release.Namespace }}
---
@@ -30,5 +30,5 @@ roleRef:
name: plugin-barman-cloud
subjects:
- kind: ServiceAccount
name: {{ .Release.Name }}-barman-cloud
name: {{ .Release.Name }}-plugin-barman-cloud
namespace: {{ .Release.Namespace }}

View File

@@ -13,7 +13,7 @@ controllers:
replicas: 1
strategy: Recreate
serviceAccount:
name: {{ .Release.Name }}-barman-cloud
name: {{ .Release.Name }}-plugin-barman-cloud
pod:
securityContext:
runAsNonRoot: true
@@ -53,7 +53,7 @@ controllers:
seccompProfile:
type: RuntimeDefault
serviceAccount:
barman-cloud:
plugin-barman-cloud:
enabled: true
service:
main:
@@ -81,16 +81,11 @@ persistence:
- path: /server
readOnly: true
mountPropagation: None
client-tls:
enabled: true
type: secret
name: {{ .Values.name }}-client-tls
advancedMounts:
main:
main:
subPath: server
- path: /client
readOnly: true
mountPropagation: None
subPath: client
{{ end }}
{{ $_ := mergeOverwrite .Values (include "barman-cloud.hardcodedValues" . | fromYaml) }}

View File

@@ -13,5 +13,5 @@ roleRef:
name: leader-election-role
subjects:
- kind: ServiceAccount
name: {{ .Release.Name }}-barman-cloud
name: {{ .Release.Name }}-plugin-barman-cloud
namespace: {{ .Release.Namespace }}

View File

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

View File

@@ -1,6 +1,6 @@
# postgres-cluster
![Version: 6.4.1](https://img.shields.io/badge/Version-6.4.1-informational?style=flat-square) ![AppVersion: v1.26.0](https://img.shields.io/badge/AppVersion-v1.26.0-informational?style=flat-square)
![Version: 6.3.2](https://img.shields.io/badge/Version-6.3.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

View File

@@ -131,7 +131,6 @@ externalClusters:
- name: {{ include "cluster.recoveryServerName" . }}
plugin:
name: barman-cloud.cloudnative-pg.io
enabled: true
parameters:
barmanObjectName: "{{ include "cluster.name" . }}-{{ .Values.recovery.objectStore.name }}"
serverName: {{ include "cluster.recoveryServerName" . }}

View File

@@ -80,7 +80,7 @@ Generate recovery server name
{{- if .Values.recovery.recoveryServerName -}}
{{- .Values.recovery.recoveryServerName -}}
{{- else -}}
{{- printf "%s-backup-%s" (include "cluster.name" .) (toString .Values.recovery.objectStore.index) | trunc 63 | trimSuffix "-" -}}
{{- printf "%s-backup-%s" (include "cluster.name" .) (toString .Values.recovery.recoveryIndex) | trunc 63 | trimSuffix "-" -}}
{{- end }}
{{- end }}

View File

@@ -24,22 +24,14 @@ spec:
{{ end }}
{{- range $objectStore := .Values.backup.objectStore }}
- name: barman-cloud.cloudnative-pg.io
enabled: true
isWALArchiver: {{ $objectStore.isWALArchiver | default true }}
parameters:
barmanObjectName: "{{ include "cluster.name" $ }}-{{ $objectStore.name }}-backup"
{{- if $objectStore.clusterName }}
serverName: "{{ $objectStore.clusterName }}-backup-{{ $objectStore.index }}"
{{- else }}
serverName: "{{ include "cluster.name" $ }}-backup-{{ $objectStore.index }}"
{{- end }}
{{- end }}
{{ if eq .Values.recovery.method "objectStore" }}
- name: barman-cloud.cloudnative-pg.io
enabled: true
parameters:
barmanObjectName: "{{ include "cluster.name" . }}-{{ .Values.recovery.objectStore.name }}"
serverName: {{ include "cluster.recoveryServerName" . }}
{{ end }}
storage:
size: {{ .Values.cluster.storage.size }}

View File

@@ -19,6 +19,11 @@ spec:
name: {{ .endpointCA.name }}
key: {{ .endpointCA.key }}
{{- end }}
{{- if .clusterName }}
serverName: "{{ .clusterName }}-backup-{{ .index }}"
{{- else }}
serverName: "{{ include "cluster.name" $context }}-backup-{{ .index }}"
{{- end }}
{{- if .wal }}
wal:
compression: {{ .wal.compression | default "snappy" }}
@@ -71,6 +76,7 @@ spec:
name: {{ .Values.recovery.objectStore.endpointCA.name }}
key: {{ .Values.recovery.objectStore.endpointCA.key }}
{{- end }}
serverName: {{ include "cluster.recoveryServerName" . }}
wal:
compression: {{ .Values.recovery.objectStore.wal.compression }}
{{- with .Values.recovery.objectStore.wal.encryption}}

View File

@@ -21,7 +21,7 @@ cluster:
# -- Default image
image:
repository: ghcr.io/cloudnative-pg/postgresql
tag: "17.5-1-bullseye"
tag: "17.5-standard-bullseye"
# -- Image pull policy. One of Always, Never or IfNotPresent. If not defined, it defaults to IfNotPresent. Cannot be updated.
# More info: https://kubernetes.io/docs/concepts/containers/images#updating-images