Automated Manifest Update #2407
@@ -29,6 +29,13 @@ spec:
|
||||
parameters:
|
||||
barmanObjectName: "grafana-operator-postgresql-18-garage-local-backup"
|
||||
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:
|
||||
size: 10Gi
|
||||
storageClass: local-path
|
||||
@@ -58,22 +65,15 @@ spec:
|
||||
enablePodMonitor: true
|
||||
disableDefaultQueries: false
|
||||
bootstrap:
|
||||
initdb:
|
||||
import:
|
||||
source:
|
||||
externalCluster: importSource
|
||||
type: microservice
|
||||
databases:
|
||||
- app
|
||||
schemaOnly: false
|
||||
recovery:
|
||||
database: app
|
||||
source: grafana-operator-postgresql-18-backup-1
|
||||
externalClusters:
|
||||
- name: importSource
|
||||
connectionParameters:
|
||||
host: "grafana-operator-postgresql-17-cluster-rw"
|
||||
port: "5432"
|
||||
user: "app"
|
||||
dbname: "app"
|
||||
sslmode: "disable"
|
||||
password:
|
||||
name: grafana-operator-postgresql-17-cluster-app
|
||||
key: password
|
||||
- name: grafana-operator-postgresql-18-backup-1
|
||||
plugin:
|
||||
name: barman-cloud.cloudnative-pg.io
|
||||
enabled: true
|
||||
isWALArchiver: false
|
||||
parameters:
|
||||
barmanObjectName: "grafana-operator-postgresql-18-recovery"
|
||||
serverName: grafana-operator-postgresql-18-backup-1
|
||||
|
||||
@@ -85,25 +85,25 @@ spec:
|
||||
- name: DB_HOST
|
||||
valueFrom:
|
||||
secretKeyRef:
|
||||
name: grafana-operator-postgresql-17-cluster-app
|
||||
name: grafana-operator-postgresql-18-cluster-app
|
||||
key: host
|
||||
- name: DB_DATABASE
|
||||
valueFrom:
|
||||
secretKeyRef:
|
||||
name: grafana-operator-postgresql-17-cluster-app
|
||||
name: grafana-operator-postgresql-18-cluster-app
|
||||
key: dbname
|
||||
- name: DB_PORT
|
||||
valueFrom:
|
||||
secretKeyRef:
|
||||
name: grafana-operator-postgresql-17-cluster-app
|
||||
name: grafana-operator-postgresql-18-cluster-app
|
||||
key: port
|
||||
- name: DB_USER
|
||||
valueFrom:
|
||||
secretKeyRef:
|
||||
name: grafana-operator-postgresql-17-cluster-app
|
||||
name: grafana-operator-postgresql-18-cluster-app
|
||||
key: user
|
||||
- name: DB_PASSWORD
|
||||
valueFrom:
|
||||
secretKeyRef:
|
||||
name: grafana-operator-postgresql-17-cluster-app
|
||||
name: grafana-operator-postgresql-18-cluster-app
|
||||
key: password
|
||||
|
||||
@@ -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
|
||||
Reference in New Issue
Block a user