From f94849eae2700eb8b79adc023dd5f4fe6ebcf4bd Mon Sep 17 00:00:00 2001 From: Julien Bouquillon Date: Tue, 29 Aug 2023 19:41:48 +0200 Subject: [PATCH] fix(pg): typo postgresqlParameters (#404) --- .../kontinuous/tests/__snapshots__/extends-ovh.dev.yaml | 8 ++++++-- .../kontinuous/tests/__snapshots__/extends-ovh.prod.yaml | 8 ++++++-- .../tests/__snapshots__/override-env-default.dev.yaml | 4 +++- packages/kontinuous/tests/__snapshots__/pg.dev.yaml | 4 +++- packages/kontinuous/tests/__snapshots__/pg.prod.yaml | 4 +++- plugins/fabrique/charts/pg/values.yaml | 2 +- 6 files changed, 22 insertions(+), 8 deletions(-) diff --git a/packages/kontinuous/tests/__snapshots__/extends-ovh.dev.yaml b/packages/kontinuous/tests/__snapshots__/extends-ovh.dev.yaml index c4ac2ababd..cae06ffbc2 100644 --- a/packages/kontinuous/tests/__snapshots__/extends-ovh.dev.yaml +++ b/packages/kontinuous/tests/__snapshots__/extends-ovh.dev.yaml @@ -596,7 +596,9 @@ spec: storageClass: csi-cinder-high-speed minSyncReplicas: 0 maxSyncReplicas: 0 - postgresql: {} + postgresql: + parameters: + timezone: Europe/Paris monitoring: enablePodMonitor: false bootstrap: @@ -659,7 +661,9 @@ spec: storageClass: csi-cinder-high-speed minSyncReplicas: 0 maxSyncReplicas: 0 - postgresql: {} + postgresql: + parameters: + timezone: Europe/Paris monitoring: enablePodMonitor: false bootstrap: diff --git a/packages/kontinuous/tests/__snapshots__/extends-ovh.prod.yaml b/packages/kontinuous/tests/__snapshots__/extends-ovh.prod.yaml index 554519d37f..76f0d06fef 100644 --- a/packages/kontinuous/tests/__snapshots__/extends-ovh.prod.yaml +++ b/packages/kontinuous/tests/__snapshots__/extends-ovh.prod.yaml @@ -772,7 +772,9 @@ spec: compression: gzip minSyncReplicas: 0 maxSyncReplicas: 0 - postgresql: {} + postgresql: + parameters: + timezone: Europe/Paris monitoring: enablePodMonitor: true bootstrap: @@ -852,7 +854,9 @@ spec: compression: gzip minSyncReplicas: 0 maxSyncReplicas: 0 - postgresql: {} + postgresql: + parameters: + timezone: Europe/Paris monitoring: enablePodMonitor: true bootstrap: diff --git a/packages/kontinuous/tests/__snapshots__/override-env-default.dev.yaml b/packages/kontinuous/tests/__snapshots__/override-env-default.dev.yaml index 0e79d42b0a..7f37d10d1e 100644 --- a/packages/kontinuous/tests/__snapshots__/override-env-default.dev.yaml +++ b/packages/kontinuous/tests/__snapshots__/override-env-default.dev.yaml @@ -368,7 +368,9 @@ spec: compression: gzip minSyncReplicas: 0 maxSyncReplicas: 0 - postgresql: {} + postgresql: + parameters: + timezone: Europe/Paris monitoring: enablePodMonitor: false bootstrap: diff --git a/packages/kontinuous/tests/__snapshots__/pg.dev.yaml b/packages/kontinuous/tests/__snapshots__/pg.dev.yaml index e87253b797..1174bdda85 100644 --- a/packages/kontinuous/tests/__snapshots__/pg.dev.yaml +++ b/packages/kontinuous/tests/__snapshots__/pg.dev.yaml @@ -439,7 +439,9 @@ spec: storageClass: managed-csi minSyncReplicas: 0 maxSyncReplicas: 0 - postgresql: {} + postgresql: + parameters: + timezone: Europe/Paris monitoring: enablePodMonitor: false bootstrap: diff --git a/packages/kontinuous/tests/__snapshots__/pg.prod.yaml b/packages/kontinuous/tests/__snapshots__/pg.prod.yaml index 24863ba295..ace7158e69 100644 --- a/packages/kontinuous/tests/__snapshots__/pg.prod.yaml +++ b/packages/kontinuous/tests/__snapshots__/pg.prod.yaml @@ -532,7 +532,9 @@ spec: compression: gzip minSyncReplicas: 0 maxSyncReplicas: 0 - postgresql: {} + postgresql: + parameters: + timezone: Europe/Paris monitoring: enablePodMonitor: true bootstrap: diff --git a/plugins/fabrique/charts/pg/values.yaml b/plugins/fabrique/charts/pg/values.yaml index 8174176170..8a5a5c6fc3 100644 --- a/plugins/fabrique/charts/pg/values.yaml +++ b/plugins/fabrique/charts/pg/values.yaml @@ -14,7 +14,7 @@ cnpg-cluster: ~tpl~dbOwner: "{{ .Values.global.pgUser }}" ~tpl~dbName: "{{ .Values.global.pgDatabase }}" ~tpl~instances: "{{ (or .Values.global.isProd .Values.global.isPreProd) | ternary `3` `1` }}" - postgresqlParameter: + postgresqlParameters: timezone: "Europe/Paris" extensions: - postgis