commit 57843cb8a575d845146b73db5bd2aafd610f8103 parent 9fd8b3d40c05f0bc4d714774fdad35ee1953362b Author: MTRNord <mtrnord1@gmail.com> Date: Sat, 16 Nov 2024 15:45:05 +0100 Switch to cnpg managed mode Diffstat:
11 files changed, 16 insertions(+), 16 deletions(-)
diff --git a/apps/base/authentik/release.yaml b/apps/base/authentik/release.yaml @@ -25,7 +25,7 @@ spec: error_reporting: enabled: true postgresql: - host: postgres-cluster.postgres-cluster.svc.cluster.local + host: pg-cluster-v2-rw.postgres-cluster.svc.cluster.local name: authentik user: authentik password: ENC[AES256_GCM,data:fYkzGIPwywRp/NyxFgB0kGf9zHi5r1ojcRKVsir9nZ9BIiZ0DQfnNWcutU3VX3XnQDiUGNYYhAjoeAT/sl90vg==,iv:HXIR5hbbWUvjEkRbT8Htgs15oMFH7QmaOO3tk94G3os=,tag:MbrV0ZNn5UqbIXa8E6muPA==,type:str] diff --git a/apps/base/cachet/release.yaml b/apps/base/cachet/release.yaml @@ -35,7 +35,7 @@ spec: postgresql: enabled: false database: - host: postgres-cluster.postgres-cluster.svc.cluster.local + host: pg-cluster-v2-rw.postgres-cluster.svc.cluster.local port: 5432 name: cachet username: cachet diff --git a/apps/base/ejabberd/release.yaml b/apps/base/ejabberd/release.yaml @@ -112,9 +112,9 @@ spec: api_permissions: admin access: what: - - '*' - - '!stop' - - '!start' + - "*" + - "!stop" + - "!start" who: access: allow: @@ -130,7 +130,7 @@ spec: from: - ejabberd_ctl - mod_http_api - what: '*' + what: "*" who: all public commands: what: @@ -147,7 +147,7 @@ spec: updateSqlSchema: true config: sql_type: pgsql - sql_server: postgres-cluster.postgres-cluster.svc.cluster.local + sql_server: pg-cluster-v2-rw.postgres-cluster.svc.cluster.local sql_port: 5432 sql_ssl: true sql_database: ejabberd diff --git a/apps/base/mastodon/release.yaml b/apps/base/mastodon/release.yaml @@ -140,7 +140,7 @@ spec: username: mastodon password: ENC[AES256_GCM,data:EU/zVx0YPs7Ko9xEcjB6bPkfzSSJz0KZOTzWOqHIb5lA8hLAAN1LgtXP4GG7ToOPvbV8GjgZ6LCDZgwqlb6h1w==,iv:5beUAYnLuzwjwQ22HpSXauAx75CPsIGEgA1aMwKs9Rg=,tag:wCG57l6NUzKxSRIUcuOk3Q==,type:str] enabled: false - postgresqlHostname: postgres-cluster.postgres-cluster.svc.cluster.local + postgresqlHostname: pg-cluster-v2-rw.postgres-cluster.svc.cluster.local #postgresqlReplicaHostname: main-ctrlc-repl.postgres.svc redis: persistence: diff --git a/apps/base/matrix/draupnir-synapse/release.yaml b/apps/base/matrix/draupnir-synapse/release.yaml @@ -242,7 +242,7 @@ spec: postgresql: enabled: false externalPostgresql: - host: postgres-cluster.postgres-cluster.svc.cluster.local + host: pg-cluster-v2-rw.postgres-cluster.svc.cluster.local port: 5432 sslmode: require database: draupnir_synapse diff --git a/apps/base/matrix/synapse/release.yaml b/apps/base/matrix/synapse/release.yaml @@ -285,7 +285,7 @@ spec: postgresql: enabled: false externalPostgresql: - host: postgres-cluster.postgres-cluster.svc.cluster.local + host: pg-cluster-v2-rw.postgres-cluster.svc.cluster.local port: 5432 sslmode: require username: synapse diff --git a/apps/base/matrix/syntainer_main_synapse/release.yaml b/apps/base/matrix/syntainer_main_synapse/release.yaml @@ -17,7 +17,7 @@ spec: retries: 3 values: postgresql: - host: postgres-cluster.postgres-cluster.svc.cluster.local + host: pg-cluster-v2-rw.postgres-cluster.svc.cluster.local port: 5432 database: synapse username: synapse diff --git a/apps/base/openproject/release.yaml b/apps/base/openproject/release.yaml @@ -49,7 +49,7 @@ spec: postgresql: bundled: false connection: - host: postgres-cluster.postgres-cluster.svc.cluster.local + host: pg-cluster-v2-rw.postgres-cluster.svc.cluster.local port: 5432 auth: username: openproject diff --git a/apps/base/postgres-exporter/release.yaml b/apps/base/postgres-exporter/release.yaml @@ -40,7 +40,7 @@ spec: summary: PostgreSQL replication is lagging by {{ "{{ $value }}" }} hour(s). config: datasource: - host: postgres-cluster.postgres-cluster.svc.cluster.local + host: pg-cluster-v2-rw.postgres-cluster.svc.cluster.local user: postgres passwordSecret: name: postgres-secret diff --git a/infrastructure/configs/cnpg-cluster.yaml b/infrastructure/configs/cnpg-cluster.yaml @@ -11,7 +11,7 @@ spec: ephemeralVolumesSizeLimit: shm: 100Mi temporaryData: 100Mi - maanged: + managed: roles: - name: synapse ensure: present diff --git a/infrastructure/configs/postgres-clusters.yaml b/infrastructure/configs/postgres-clusters.yaml @@ -174,7 +174,7 @@ spec: volumes: - name: storagebox-vol persistentVolumeClaim: - claimName: pg-storagebox-pvc + claimName: pg-storagebox-pvc prune: schedule: "@daily-random" retention: @@ -185,4 +185,4 @@ spec: volumes: - name: storagebox-vol persistentVolumeClaim: - claimName: pg-storagebox-pvc + claimName: pg-storagebox-pvc