switchover
This commit is contained in:
@@ -19,27 +19,27 @@ n8n:
|
||||
- name: DB_POSTGRESDB_DATABASE
|
||||
valueFrom:
|
||||
secretKeyRef:
|
||||
name: n8n-postgresql-17-cluster-app
|
||||
name: n8n-postgresql-18-cluster-app
|
||||
key: dbname
|
||||
- name: DB_POSTGRESDB_HOST
|
||||
valueFrom:
|
||||
secretKeyRef:
|
||||
name: n8n-postgresql-17-cluster-app
|
||||
name: n8n-postgresql-18-cluster-app
|
||||
key: host
|
||||
- name: DB_POSTGRESDB_PORT
|
||||
valueFrom:
|
||||
secretKeyRef:
|
||||
name: n8n-postgresql-17-cluster-app
|
||||
name: n8n-postgresql-18-cluster-app
|
||||
key: port
|
||||
- name: DB_POSTGRESDB_USER
|
||||
valueFrom:
|
||||
secretKeyRef:
|
||||
name: n8n-postgresql-17-cluster-app
|
||||
name: n8n-postgresql-18-cluster-app
|
||||
key: user
|
||||
- name: DB_POSTGRESDB_PASSWORD
|
||||
valueFrom:
|
||||
secretKeyRef:
|
||||
name: n8n-postgresql-17-cluster-app
|
||||
name: n8n-postgresql-18-cluster-app
|
||||
key: password
|
||||
- name: N8N_METRICS
|
||||
value: true
|
||||
@@ -108,27 +108,27 @@ n8n:
|
||||
- name: DB_POSTGRESDB_DATABASE
|
||||
valueFrom:
|
||||
secretKeyRef:
|
||||
name: n8n-postgresql-17-cluster-app
|
||||
name: n8n-postgresql-18-cluster-app
|
||||
key: dbname
|
||||
- name: DB_POSTGRESDB_HOST
|
||||
valueFrom:
|
||||
secretKeyRef:
|
||||
name: n8n-postgresql-17-cluster-app
|
||||
name: n8n-postgresql-18-cluster-app
|
||||
key: host
|
||||
- name: DB_POSTGRESDB_PORT
|
||||
valueFrom:
|
||||
secretKeyRef:
|
||||
name: n8n-postgresql-17-cluster-app
|
||||
name: n8n-postgresql-18-cluster-app
|
||||
key: port
|
||||
- name: DB_POSTGRESDB_USER
|
||||
valueFrom:
|
||||
secretKeyRef:
|
||||
name: n8n-postgresql-17-cluster-app
|
||||
name: n8n-postgresql-18-cluster-app
|
||||
key: user
|
||||
- name: DB_POSTGRESDB_PASSWORD
|
||||
valueFrom:
|
||||
secretKeyRef:
|
||||
name: n8n-postgresql-17-cluster-app
|
||||
name: n8n-postgresql-18-cluster-app
|
||||
key: password
|
||||
- name: N8N_METRICS
|
||||
value: true
|
||||
@@ -202,27 +202,27 @@ n8n:
|
||||
- name: DB_POSTGRESDB_DATABASE
|
||||
valueFrom:
|
||||
secretKeyRef:
|
||||
name: n8n-postgresql-17-cluster-app
|
||||
name: n8n-postgresql-18-cluster-app
|
||||
key: dbname
|
||||
- name: DB_POSTGRESDB_HOST
|
||||
valueFrom:
|
||||
secretKeyRef:
|
||||
name: n8n-postgresql-17-cluster-app
|
||||
name: n8n-postgresql-18-cluster-app
|
||||
key: host
|
||||
- name: DB_POSTGRESDB_PORT
|
||||
valueFrom:
|
||||
secretKeyRef:
|
||||
name: n8n-postgresql-17-cluster-app
|
||||
name: n8n-postgresql-18-cluster-app
|
||||
key: port
|
||||
- name: DB_POSTGRESDB_USER
|
||||
valueFrom:
|
||||
secretKeyRef:
|
||||
name: n8n-postgresql-17-cluster-app
|
||||
name: n8n-postgresql-18-cluster-app
|
||||
key: user
|
||||
- name: DB_POSTGRESDB_PASSWORD
|
||||
valueFrom:
|
||||
secretKeyRef:
|
||||
name: n8n-postgresql-17-cluster-app
|
||||
name: n8n-postgresql-18-cluster-app
|
||||
key: password
|
||||
- name: N8N_METRICS
|
||||
value: true
|
||||
@@ -384,25 +384,12 @@ postgres-18-cluster:
|
||||
prometheusRule:
|
||||
enabled: true
|
||||
recovery:
|
||||
method: import
|
||||
method: objectStore
|
||||
objectStore:
|
||||
destinationPath: s3://postgres-backups/cl01tl/n8n/n8n-postgresql-18-cluster
|
||||
endpointURL: http://garage-main.garage:3900
|
||||
index: 1
|
||||
endpointCredentials: n8n-postgresql-18-cluster-backup-secret-garage
|
||||
import:
|
||||
type: "microservice"
|
||||
databases:
|
||||
- app
|
||||
source:
|
||||
host: "n8n-postgresql-17-cluster-rw"
|
||||
port: 5432
|
||||
username: app
|
||||
database: app
|
||||
sslMode: "disable"
|
||||
passwordSecret:
|
||||
name: "n8n-postgresql-17-cluster-app"
|
||||
key: "password"
|
||||
backup:
|
||||
objectStore:
|
||||
- name: external
|
||||
|
||||
Reference in New Issue
Block a user