Automated Manifest Update #2407

Merged
alexlebens merged 1 commits from auto/update-manifests into manifests 2025-12-12 01:18:09 +00:00
3 changed files with 52 additions and 23 deletions

View File

@@ -29,6 +29,13 @@ spec:
parameters: parameters:
barmanObjectName: "grafana-operator-postgresql-18-garage-local-backup" barmanObjectName: "grafana-operator-postgresql-18-garage-local-backup"
serverName: "grafana-operator-postgresql-18-backup-1" serverName: "grafana-operator-postgresql-18-backup-1"
externalClusters:
- name: recovery
plugin:
name: barman-cloud.cloudnative-pg.io
parameters:
barmanObjectName: "grafana-operator-postgresql-18-recovery"
serverName: grafana-operator-postgresql-18-backup-1
storage: storage:
size: 10Gi size: 10Gi
storageClass: local-path storageClass: local-path
@@ -58,22 +65,15 @@ spec:
enablePodMonitor: true enablePodMonitor: true
disableDefaultQueries: false disableDefaultQueries: false
bootstrap: bootstrap:
initdb: recovery:
import: database: app
source: source: grafana-operator-postgresql-18-backup-1
externalCluster: importSource
type: microservice
databases:
- app
schemaOnly: false
externalClusters: externalClusters:
- name: importSource - name: grafana-operator-postgresql-18-backup-1
connectionParameters: plugin:
host: "grafana-operator-postgresql-17-cluster-rw" name: barman-cloud.cloudnative-pg.io
port: "5432" enabled: true
user: "app" isWALArchiver: false
dbname: "app" parameters:
sslmode: "disable" barmanObjectName: "grafana-operator-postgresql-18-recovery"
password: serverName: grafana-operator-postgresql-18-backup-1
name: grafana-operator-postgresql-17-cluster-app
key: password

View File

@@ -85,25 +85,25 @@ spec:
- name: DB_HOST - name: DB_HOST
valueFrom: valueFrom:
secretKeyRef: secretKeyRef:
name: grafana-operator-postgresql-17-cluster-app name: grafana-operator-postgresql-18-cluster-app
key: host key: host
- name: DB_DATABASE - name: DB_DATABASE
valueFrom: valueFrom:
secretKeyRef: secretKeyRef:
name: grafana-operator-postgresql-17-cluster-app name: grafana-operator-postgresql-18-cluster-app
key: dbname key: dbname
- name: DB_PORT - name: DB_PORT
valueFrom: valueFrom:
secretKeyRef: secretKeyRef:
name: grafana-operator-postgresql-17-cluster-app name: grafana-operator-postgresql-18-cluster-app
key: port key: port
- name: DB_USER - name: DB_USER
valueFrom: valueFrom:
secretKeyRef: secretKeyRef:
name: grafana-operator-postgresql-17-cluster-app name: grafana-operator-postgresql-18-cluster-app
key: user key: user
- name: DB_PASSWORD - name: DB_PASSWORD
valueFrom: valueFrom:
secretKeyRef: secretKeyRef:
name: grafana-operator-postgresql-17-cluster-app name: grafana-operator-postgresql-18-cluster-app
key: password key: password

View File

@@ -0,0 +1,29 @@
apiVersion: barmancloud.cnpg.io/v1
kind: ObjectStore
metadata:
name: "grafana-operator-postgresql-18-recovery"
namespace: grafana-operator
labels:
helm.sh/chart: postgres-18-cluster-6.16.1
app.kubernetes.io/name: grafana-operator-postgresql-18
app.kubernetes.io/instance: grafana-operator
app.kubernetes.io/part-of: grafana-operator
app.kubernetes.io/version: "6.16.1"
app.kubernetes.io/managed-by: Helm
spec:
configuration:
destinationPath: s3://postgres-backups/cl01tl/grafana-operator/grafana-operator-postgresql-18-cluster
endpointURL: http://garage-main.garage:3900
wal:
compression: snappy
maxParallel: 1
data:
compression: snappy
jobs: 1
s3Credentials:
accessKeyId:
name: grafana-operator-postgresql-18-cluster-backup-secret-garage
key: ACCESS_KEY_ID
secretAccessKey:
name: grafana-operator-postgresql-18-cluster-backup-secret-garage
key: ACCESS_SECRET_KEY