switchover
This commit is contained in:
@@ -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
|
||||||
|
|||||||
@@ -83,25 +83,12 @@ postgres-18-cluster:
|
|||||||
prometheusRule:
|
prometheusRule:
|
||||||
enabled: true
|
enabled: true
|
||||||
recovery:
|
recovery:
|
||||||
method: import
|
method: objectStore
|
||||||
objectStore:
|
objectStore:
|
||||||
destinationPath: s3://postgres-backups/cl01tl/grafana-operator/grafana-operator-postgresql-18-cluster
|
destinationPath: s3://postgres-backups/cl01tl/grafana-operator/grafana-operator-postgresql-18-cluster
|
||||||
endpointURL: http://garage-main.garage:3900
|
endpointURL: http://garage-main.garage:3900
|
||||||
index: 1
|
index: 1
|
||||||
endpointCredentials: grafana-operator-postgresql-18-cluster-backup-secret-garage
|
endpointCredentials: grafana-operator-postgresql-18-cluster-backup-secret-garage
|
||||||
import:
|
|
||||||
type: "microservice"
|
|
||||||
databases:
|
|
||||||
- app
|
|
||||||
source:
|
|
||||||
host: "grafana-operator-postgresql-17-cluster-rw"
|
|
||||||
port: 5432
|
|
||||||
username: app
|
|
||||||
database: app
|
|
||||||
sslMode: "disable"
|
|
||||||
passwordSecret:
|
|
||||||
name: "grafana-operator-postgresql-17-cluster-app"
|
|
||||||
key: "password"
|
|
||||||
backup:
|
backup:
|
||||||
objectStore:
|
objectStore:
|
||||||
- name: external
|
- name: external
|
||||||
|
|||||||
Reference in New Issue
Block a user