Compare commits

...

6 Commits

Author SHA1 Message Date
a70137cfbd fix serername
All checks were successful
release-charts-postgres-cluster / release (push) Successful in 21s
2025-05-24 12:07:30 -05:00
dc4df55373 fix client mountg
All checks were successful
release-charts-cloudfbarman-cloudlared / release (push) Successful in 35s
2025-05-24 12:02:30 -05:00
a3f42e13ce fix client mount
All checks were successful
release-charts-cloudfbarman-cloudlared / release (push) Successful in 28s
2025-05-24 11:57:30 -05:00
a48262f115 upgrade chart
All checks were successful
release-charts-cloudfbarman-cloudlared / release (push) Successful in 16s
2025-05-24 11:52:07 -05:00
bd458a3a3d fix service account
All checks were successful
release-charts-cloudfbarman-cloudlared / release (push) Successful in 27s
2025-05-24 11:49:16 -05:00
3aa9113d24 fix service account
All checks were successful
release-charts-cloudfbarman-cloudlared / release (push) Successful in 19s
2025-05-24 11:45:45 -05:00
10 changed files with 23 additions and 24 deletions

View File

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

View File

@@ -1,6 +1,6 @@
# barman-cloud # barman-cloud
![Version: 0.2.0](https://img.shields.io/badge/Version-0.2.0-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.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)
Barman Cloud Plugin Barman Cloud Plugin
@@ -27,7 +27,6 @@ Barman Cloud Plugin
|-----|------|---------|-------------| |-----|------|---------|-------------|
| image | object | `{"pullPolicy":"IfNotPresent","repository":"ghcr.io/cloudnative-pg/plugin-barman-cloud","tag":"v0.4.0"}` | Default image | | image | object | `{"pullPolicy":"IfNotPresent","repository":"ghcr.io/cloudnative-pg/plugin-barman-cloud","tag":"v0.4.0"}` | Default image |
| name | string | `"barman-cloud"` | Name override of release | | name | string | `"barman-cloud"` | Name override of release |
| resources | object | `{"requests":{"cpu":"10m","memory":"128Mi"}}` | Default resources |
| service | object | `{"listenPort":9090}` | Default service | | service | object | `{"listenPort":9090}` | Default service |
---------------------------------------------- ----------------------------------------------

View File

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

View File

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

View File

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

View File

@@ -10,9 +10,3 @@ image:
# -- Default service # -- Default service
service: service:
listenPort: 9090 listenPort: 9090
# -- Default resources
resources:
requests:
cpu: 10m
memory: 128Mi

View File

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

View File

@@ -1,6 +1,6 @@
# postgres-cluster # postgres-cluster
![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) ![Version: 6.4.0](https://img.shields.io/badge/Version-6.4.0-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

@@ -27,11 +27,17 @@ spec:
isWALArchiver: {{ $objectStore.isWALArchiver | default true }} isWALArchiver: {{ $objectStore.isWALArchiver | default true }}
parameters: parameters:
barmanObjectName: "{{ include "cluster.name" $ }}-{{ $objectStore.name }}-backup" 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 }} {{- end }}
{{ if eq .Values.recovery.method "objectStore" }} {{ if eq .Values.recovery.method "objectStore" }}
- name: barman-cloud.cloudnative-pg.io - name: barman-cloud.cloudnative-pg.io
parameters: parameters:
barmanObjectName: "{{ include "cluster.name" . }}-{{ .Values.recovery.objectStore.name }}" barmanObjectName: "{{ include "cluster.name" . }}-{{ .Values.recovery.objectStore.name }}"
serverName: {{ include "cluster.recoveryServerName" . }}
{{ end }} {{ end }}
storage: storage:
size: {{ .Values.cluster.storage.size }} size: {{ .Values.cluster.storage.size }}

View File

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