switchover
This commit is contained in:
@@ -31,27 +31,27 @@ outline:
|
|||||||
- name: POSTGRES_USERNAME
|
- name: POSTGRES_USERNAME
|
||||||
valueFrom:
|
valueFrom:
|
||||||
secretKeyRef:
|
secretKeyRef:
|
||||||
name: outline-postgresql-17-cluster-app
|
name: outline-postgresql-18-cluster-app
|
||||||
key: username
|
key: username
|
||||||
- name: POSTGRES_PASSWORD
|
- name: POSTGRES_PASSWORD
|
||||||
valueFrom:
|
valueFrom:
|
||||||
secretKeyRef:
|
secretKeyRef:
|
||||||
name: outline-postgresql-17-cluster-app
|
name: outline-postgresql-18-cluster-app
|
||||||
key: password
|
key: password
|
||||||
- name: POSTGRES_DATABASE_NAME
|
- name: POSTGRES_DATABASE_NAME
|
||||||
valueFrom:
|
valueFrom:
|
||||||
secretKeyRef:
|
secretKeyRef:
|
||||||
name: outline-postgresql-17-cluster-app
|
name: outline-postgresql-18-cluster-app
|
||||||
key: dbname
|
key: dbname
|
||||||
- name: POSTGRES_DATABASE_HOST
|
- name: POSTGRES_DATABASE_HOST
|
||||||
valueFrom:
|
valueFrom:
|
||||||
secretKeyRef:
|
secretKeyRef:
|
||||||
name: outline-postgresql-17-cluster-app
|
name: outline-postgresql-18-cluster-app
|
||||||
key: host
|
key: host
|
||||||
- name: POSTGRES_DATABASE_PORT
|
- name: POSTGRES_DATABASE_PORT
|
||||||
valueFrom:
|
valueFrom:
|
||||||
secretKeyRef:
|
secretKeyRef:
|
||||||
name: outline-postgresql-17-cluster-app
|
name: outline-postgresql-18-cluster-app
|
||||||
key: port
|
key: port
|
||||||
- name: DATABASE_URL
|
- name: DATABASE_URL
|
||||||
value: postgres://$(POSTGRES_USERNAME):$(POSTGRES_PASSWORD)@$(POSTGRES_DATABASE_HOST):$(POSTGRES_DATABASE_PORT)/$(POSTGRES_DATABASE_NAME)
|
value: postgres://$(POSTGRES_USERNAME):$(POSTGRES_PASSWORD)@$(POSTGRES_DATABASE_HOST):$(POSTGRES_DATABASE_PORT)/$(POSTGRES_DATABASE_NAME)
|
||||||
@@ -216,25 +216,12 @@ postgres-18-cluster:
|
|||||||
prometheusRule:
|
prometheusRule:
|
||||||
enabled: true
|
enabled: true
|
||||||
recovery:
|
recovery:
|
||||||
method: import
|
method: objectStore
|
||||||
objectStore:
|
objectStore:
|
||||||
destinationPath: s3://postgres-backups/cl01tl/outline/outline-postgresql-18-cluster
|
destinationPath: s3://postgres-backups/cl01tl/outline/outline-postgresql-18-cluster
|
||||||
endpointURL: http://garage-main.garage:3900
|
endpointURL: http://garage-main.garage:3900
|
||||||
index: 1
|
index: 1
|
||||||
endpointCredentials: outline-postgresql-18-cluster-backup-secret-garage
|
endpointCredentials: outline-postgresql-18-cluster-backup-secret-garage
|
||||||
import:
|
|
||||||
type: "microservice"
|
|
||||||
databases:
|
|
||||||
- app
|
|
||||||
source:
|
|
||||||
host: "outline-postgresql-17-cluster-rw"
|
|
||||||
port: 5432
|
|
||||||
username: app
|
|
||||||
database: app
|
|
||||||
sslMode: "disable"
|
|
||||||
passwordSecret:
|
|
||||||
name: "outline-postgresql-17-cluster-app"
|
|
||||||
key: "password"
|
|
||||||
backup:
|
backup:
|
||||||
objectStore:
|
objectStore:
|
||||||
- name: external
|
- name: external
|
||||||
|
|||||||
Reference in New Issue
Block a user