Cut Matrix over to CloudNativePG
This commit is contained in:
1 parent
88dfd05e00
commit
dfa78527cf
2 files changed
+5
-5
No files matched your search
@@ -19,6 +19,7 @@ patches:
|
||||
- name: pg-dump
|
||||
env:
|
||||
- {name: BACKUP_TARGET, value: matrix}
|
||||
- {name: PGHOST, value: postgresql}
|
||||
- {name: PGHOST, value: matrix-cnpg-rw}
|
||||
- {name: PGUSER, value: postgres}
|
||||
- name: PGPASSWORD
|
||||
valueFrom: {secretKeyRef: {name: postgresql, key: postgres-password}}
|
||||
valueFrom: {secretKeyRef: {name: matrix-cnpg-superuser, key: password}}
|
||||
@@ -11,6 +11,5 @@ spec:
|
||||
protocol: TCP
|
||||
targetPort: 5432
|
||||
selector:
|
||||
app.kubernetes.io/component: primary
|
||||
app.kubernetes.io/instance: postgresql
|
||||
app.kubernetes.io/name: postgresql
|
||||
cnpg.io/cluster: matrix-cnpg
|
||||
cnpg.io/instanceRole: primary
|
||||
Reference in new issue
Block a user