postgres: revert replica experiment
This commit is contained in:
@@ -66,19 +66,4 @@ spec:
|
|||||||
login: true
|
login: true
|
||||||
superuser: true
|
superuser: true
|
||||||
passwordSecret:
|
passwordSecret:
|
||||||
name: pgbouncer-auth-query
|
name: pgbouncer-auth-query
|
||||||
- name: weyma-pgsql02_replica
|
|
||||||
ensure: present
|
|
||||||
comment: weyma-pgsql02 replica
|
|
||||||
login: true
|
|
||||||
replication: true
|
|
||||||
passwordSecret:
|
|
||||||
name: streaming-replica-auth
|
|
||||||
|
|
||||||
replicationSlots:
|
|
||||||
highAvailability:
|
|
||||||
enabled: true
|
|
||||||
|
|
||||||
postgresql:
|
|
||||||
pg_hba:
|
|
||||||
- host replication weyma-pgsql02_replica 10.105.6.199/32 scram-sha-256
|
|
||||||
@@ -1,25 +0,0 @@
|
|||||||
apiVersion: external-secrets.io/v1
|
|
||||||
kind: ExternalSecret
|
|
||||||
metadata:
|
|
||||||
name: streaming-replica-auth
|
|
||||||
spec:
|
|
||||||
data:
|
|
||||||
- remoteRef:
|
|
||||||
conversionStrategy: Default
|
|
||||||
decodingStrategy: None
|
|
||||||
key: cloudnativepg
|
|
||||||
metadataPolicy: None
|
|
||||||
property: weyma-pgsql02_replicapw
|
|
||||||
secretKey: password
|
|
||||||
refreshInterval: 1h
|
|
||||||
secretStoreRef:
|
|
||||||
kind: ClusterSecretStore
|
|
||||||
name: weyma-vault
|
|
||||||
target:
|
|
||||||
template:
|
|
||||||
data:
|
|
||||||
username: weyma-pgsql02_replica
|
|
||||||
password: "{{ .password }}"
|
|
||||||
creationPolicy: Owner
|
|
||||||
deletionPolicy: Retain
|
|
||||||
name: streaming-replica-auth
|
|
||||||
Reference in New Issue
Block a user