From 3680ee5746c16c0a48239497a8fa78950a4dec48 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Philippe=20No=C3=ABl?= <21990816+philippemnoel@users.noreply.github.com> Date: Mon, 16 Sep 2024 01:11:25 -0700 Subject: [PATCH] Add explicit `type: postgresql` to test examples (#385) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Philippe Noël --- charts/cluster/examples/basic.yaml | 1 + charts/cluster/examples/pgbouncer.yaml | 1 + charts/cluster/examples/recovery-backup.yaml | 1 + charts/cluster/examples/recovery-object_store.yaml | 1 + charts/cluster/examples/recovery-pg_basebackup.yaml | 1 + charts/cluster/examples/standalone-s3.yaml | 1 + charts/cluster/test/monitoring/01-monitoring_cluster.yaml | 1 + charts/cluster/test/pooler/01-pooler_cluster.yaml | 1 + .../01-non_default_configuration_cluster.yaml | 1 + .../postgresql-minio-backup-restore/01-standalone_cluster.yaml | 1 + .../05-recovery_backup_cluster.yaml | 1 + .../07-recovery_object_store_cluster.yaml | 1 + .../09-recovery_backup_pitr_cluster.yaml | 1 + .../cluster/test/postgresql-pg_basebackup/00-source-cluster.yaml | 1 + .../test/postgresql-pg_basebackup/02-pg_basebackup-cluster.yaml | 1 + 15 files changed, 15 insertions(+) diff --git a/charts/cluster/examples/basic.yaml b/charts/cluster/examples/basic.yaml index 730612c2f..b4c15bb15 100644 --- a/charts/cluster/examples/basic.yaml +++ b/charts/cluster/examples/basic.yaml @@ -1,3 +1,4 @@ +type: postgresql mode: standalone version: postgresql: "16" diff --git a/charts/cluster/examples/pgbouncer.yaml b/charts/cluster/examples/pgbouncer.yaml index 1da966275..cfa641e45 100644 --- a/charts/cluster/examples/pgbouncer.yaml +++ b/charts/cluster/examples/pgbouncer.yaml @@ -1,3 +1,4 @@ +type: postgresql mode: standalone cluster: instances: 1 diff --git a/charts/cluster/examples/recovery-backup.yaml b/charts/cluster/examples/recovery-backup.yaml index d11187f5c..c478e7a9e 100644 --- a/charts/cluster/examples/recovery-backup.yaml +++ b/charts/cluster/examples/recovery-backup.yaml @@ -1,3 +1,4 @@ +type: postgresql mode: recovery recovery: diff --git a/charts/cluster/examples/recovery-object_store.yaml b/charts/cluster/examples/recovery-object_store.yaml index 742d5341c..060f5328d 100644 --- a/charts/cluster/examples/recovery-object_store.yaml +++ b/charts/cluster/examples/recovery-object_store.yaml @@ -1,3 +1,4 @@ +type: postgresql mode: recovery recovery: diff --git a/charts/cluster/examples/recovery-pg_basebackup.yaml b/charts/cluster/examples/recovery-pg_basebackup.yaml index ef77857a3..05358bf50 100644 --- a/charts/cluster/examples/recovery-pg_basebackup.yaml +++ b/charts/cluster/examples/recovery-pg_basebackup.yaml @@ -1,3 +1,4 @@ +type: postgresql mode: "recovery" recovery: diff --git a/charts/cluster/examples/standalone-s3.yaml b/charts/cluster/examples/standalone-s3.yaml index bf1794d06..44a4bb104 100644 --- a/charts/cluster/examples/standalone-s3.yaml +++ b/charts/cluster/examples/standalone-s3.yaml @@ -1,3 +1,4 @@ +type: postgresql mode: standalone cluster: diff --git a/charts/cluster/test/monitoring/01-monitoring_cluster.yaml b/charts/cluster/test/monitoring/01-monitoring_cluster.yaml index 62559eeaa..2e94c2fc0 100644 --- a/charts/cluster/test/monitoring/01-monitoring_cluster.yaml +++ b/charts/cluster/test/monitoring/01-monitoring_cluster.yaml @@ -1,3 +1,4 @@ +type: postgresql mode: standalone cluster: instances: 2 diff --git a/charts/cluster/test/pooler/01-pooler_cluster.yaml b/charts/cluster/test/pooler/01-pooler_cluster.yaml index 307f69706..3f197ce7e 100644 --- a/charts/cluster/test/pooler/01-pooler_cluster.yaml +++ b/charts/cluster/test/pooler/01-pooler_cluster.yaml @@ -1,3 +1,4 @@ +type: postgresql mode: standalone cluster: instances: 2 diff --git a/charts/cluster/test/postgresql-cluster-configuration/01-non_default_configuration_cluster.yaml b/charts/cluster/test/postgresql-cluster-configuration/01-non_default_configuration_cluster.yaml index c86a5dceb..570ea8409 100644 --- a/charts/cluster/test/postgresql-cluster-configuration/01-non_default_configuration_cluster.yaml +++ b/charts/cluster/test/postgresql-cluster-configuration/01-non_default_configuration_cluster.yaml @@ -1,3 +1,4 @@ +type: postgresql mode: standalone cluster: instances: 2 diff --git a/charts/cluster/test/postgresql-minio-backup-restore/01-standalone_cluster.yaml b/charts/cluster/test/postgresql-minio-backup-restore/01-standalone_cluster.yaml index d55832170..7db3fe9af 100644 --- a/charts/cluster/test/postgresql-minio-backup-restore/01-standalone_cluster.yaml +++ b/charts/cluster/test/postgresql-minio-backup-restore/01-standalone_cluster.yaml @@ -1,3 +1,4 @@ +type: postgresql mode: standalone cluster: diff --git a/charts/cluster/test/postgresql-minio-backup-restore/05-recovery_backup_cluster.yaml b/charts/cluster/test/postgresql-minio-backup-restore/05-recovery_backup_cluster.yaml index 449e524f8..c2731b3bf 100644 --- a/charts/cluster/test/postgresql-minio-backup-restore/05-recovery_backup_cluster.yaml +++ b/charts/cluster/test/postgresql-minio-backup-restore/05-recovery_backup_cluster.yaml @@ -1,3 +1,4 @@ +type: postgresql mode: recovery cluster: diff --git a/charts/cluster/test/postgresql-minio-backup-restore/07-recovery_object_store_cluster.yaml b/charts/cluster/test/postgresql-minio-backup-restore/07-recovery_object_store_cluster.yaml index 230d5ba1d..7f059e394 100644 --- a/charts/cluster/test/postgresql-minio-backup-restore/07-recovery_object_store_cluster.yaml +++ b/charts/cluster/test/postgresql-minio-backup-restore/07-recovery_object_store_cluster.yaml @@ -1,3 +1,4 @@ +type: postgresql mode: recovery cluster: diff --git a/charts/cluster/test/postgresql-minio-backup-restore/09-recovery_backup_pitr_cluster.yaml b/charts/cluster/test/postgresql-minio-backup-restore/09-recovery_backup_pitr_cluster.yaml index 449e524f8..c2731b3bf 100644 --- a/charts/cluster/test/postgresql-minio-backup-restore/09-recovery_backup_pitr_cluster.yaml +++ b/charts/cluster/test/postgresql-minio-backup-restore/09-recovery_backup_pitr_cluster.yaml @@ -1,3 +1,4 @@ +type: postgresql mode: recovery cluster: diff --git a/charts/cluster/test/postgresql-pg_basebackup/00-source-cluster.yaml b/charts/cluster/test/postgresql-pg_basebackup/00-source-cluster.yaml index 3d041f0f3..c11fed595 100644 --- a/charts/cluster/test/postgresql-pg_basebackup/00-source-cluster.yaml +++ b/charts/cluster/test/postgresql-pg_basebackup/00-source-cluster.yaml @@ -1,3 +1,4 @@ +type: postgresql mode: "standalone" cluster: instances: 1 diff --git a/charts/cluster/test/postgresql-pg_basebackup/02-pg_basebackup-cluster.yaml b/charts/cluster/test/postgresql-pg_basebackup/02-pg_basebackup-cluster.yaml index 615ad3c80..d389200e8 100644 --- a/charts/cluster/test/postgresql-pg_basebackup/02-pg_basebackup-cluster.yaml +++ b/charts/cluster/test/postgresql-pg_basebackup/02-pg_basebackup-cluster.yaml @@ -1,3 +1,4 @@ +type: postgresql mode: "recovery" recovery: method: "pg_basebackup"