From 9e1ad650f270959ff902887842793abd237b2152 Mon Sep 17 00:00:00 2001 From: Itay Grudev Date: Mon, 16 Sep 2024 12:37:25 +0300 Subject: [PATCH] Updated chart tests --- .../monitoring/01-monitoring_cluster-assert.yaml | 12 ++++++------ .../01-paradedb_cluster-assert.yaml | 2 +- .../02-paradedb_write.yaml | 2 +- .../03-paradedb_test.yaml | 2 +- .../paradedb-minio-backup-restore/04-data_write.yaml | 2 +- .../paradedb-minio-backup-restore/05-backup.yaml | 2 +- .../05-backup_completed-assert.yaml | 2 +- .../05-backup_running-assert.yaml | 2 +- .../paradedb-minio-backup-restore/05-checkpoint.yaml | 2 +- .../06-post_backup_data_write.yaml | 2 +- .../07-recovery_backup_pitr_cluster-assert.yaml | 2 +- .../paradedb-minio-backup-restore/08-data_test.yaml | 2 +- .../test/pooler/01-pooler_cluster-assert.yaml | 6 +++--- .../01-non_default_configuration_cluster-assert.yaml | 2 +- .../01-standalone_cluster-assert.yaml | 2 +- .../02-data_write.yaml | 2 +- .../postgresql-minio-backup-restore/03-backup.yaml | 2 +- .../03-backup_completed-assert.yaml | 2 +- .../03-backup_running-assert.yaml | 2 +- .../03-checkpoint.yaml | 2 +- .../04-post_backup_data_write.yaml | 2 +- .../05-recovery_backup_cluster-assert.yaml | 2 +- .../06-data_test.yaml | 2 +- .../07-recovery_object_store_cluster-assert.yaml | 2 +- .../07-recovery_object_store_cluster.yaml | 2 +- .../08-data_test.yaml | 2 +- .../09-recovery_backup_pitr_cluster-assert.yaml | 2 +- .../10-data_test.yaml | 2 +- .../00-source-cluster-assert.yaml | 2 +- .../test/postgresql-pg_basebackup/01-data_write.yaml | 6 +++--- .../02-pg_basebackup-cluster-assert.yaml | 2 +- .../02-pg_basebackup-cluster.yaml | 6 +++--- .../test/postgresql-pg_basebackup/03-data_test.yaml | 2 +- .../01-timescale_cluster-assert.yaml | 2 +- .../03-timescale_test.yaml | 2 +- .../04-data_write.yaml | 2 +- .../timescale-minio-backup-restore/05-backup.yaml | 2 +- .../05-backup_completed-assert.yaml | 2 +- .../05-backup_running-assert.yaml | 2 +- .../05-checkpoint.yaml | 2 +- .../06-post_backup_data_write.yaml | 2 +- .../07-recovery_backup_pitr_cluster-assert.yaml | 2 +- .../timescale-minio-backup-restore/08-data_test.yaml | 2 +- 43 files changed, 54 insertions(+), 54 deletions(-) diff --git a/charts/paradedb/test/monitoring/01-monitoring_cluster-assert.yaml b/charts/paradedb/test/monitoring/01-monitoring_cluster-assert.yaml index d69c702c0..baac2f2ec 100644 --- a/charts/paradedb/test/monitoring/01-monitoring_cluster-assert.yaml +++ b/charts/paradedb/test/monitoring/01-monitoring_cluster-assert.yaml @@ -1,30 +1,30 @@ apiVersion: monitoring.coreos.com/v1 kind: PodMonitor metadata: - name: monitoring-cluster + name: monitoring-paradedb-cluster spec: selector: matchLabels: - cnpg.io/cluster: monitoring-cluster + cnpg.io/cluster: monitoring-paradedb-cluster --- apiVersion: monitoring.coreos.com/v1 kind: PodMonitor metadata: - name: monitoring-cluster-pooler-rw + name: monitoring-paradedb-cluster-pooler-rw spec: selector: matchLabels: - cnpg.io/poolerName: monitoring-cluster-pooler-rw + cnpg.io/poolerName: monitoring-paradedb-cluster-pooler-rw --- apiVersion: monitoring.coreos.com/v1 kind: PrometheusRule metadata: - name: monitoring-cluster-alert-rules + name: monitoring-paradedb-cluster-alert-rules --- apiVersion: v1 kind: ConfigMap metadata: - name: monitoring-cluster-monitoring + name: monitoring-paradedb-cluster-monitoring data: custom-queries: | pg_cache_hit_ratio: diff --git a/charts/paradedb/test/paradedb-minio-backup-restore/01-paradedb_cluster-assert.yaml b/charts/paradedb/test/paradedb-minio-backup-restore/01-paradedb_cluster-assert.yaml index 8b243d630..1b995d1d2 100644 --- a/charts/paradedb/test/paradedb-minio-backup-restore/01-paradedb_cluster-assert.yaml +++ b/charts/paradedb/test/paradedb-minio-backup-restore/01-paradedb_cluster-assert.yaml @@ -1,6 +1,6 @@ apiVersion: postgresql.cnpg.io/v1 kind: Cluster metadata: - name: paradedb-cluster + name: paradedb-paradedb-cluster status: readyInstances: 2 diff --git a/charts/paradedb/test/paradedb-minio-backup-restore/02-paradedb_write.yaml b/charts/paradedb/test/paradedb-minio-backup-restore/02-paradedb_write.yaml index a2b669e5c..df7dd9259 100644 --- a/charts/paradedb/test/paradedb-minio-backup-restore/02-paradedb_write.yaml +++ b/charts/paradedb/test/paradedb-minio-backup-restore/02-paradedb_write.yaml @@ -12,7 +12,7 @@ spec: - name: DB_URI valueFrom: secretKeyRef: - name: paradedb-cluster-app + name: paradedb-paradedb-cluster-app key: uri image: alpine:3.19 command: ['sh', '-c'] diff --git a/charts/paradedb/test/paradedb-minio-backup-restore/03-paradedb_test.yaml b/charts/paradedb/test/paradedb-minio-backup-restore/03-paradedb_test.yaml index 52a489df5..befadcfc5 100644 --- a/charts/paradedb/test/paradedb-minio-backup-restore/03-paradedb_test.yaml +++ b/charts/paradedb/test/paradedb-minio-backup-restore/03-paradedb_test.yaml @@ -12,7 +12,7 @@ spec: - name: DB_URI valueFrom: secretKeyRef: - name: paradedb-cluster-app + name: paradedb-paradedb-cluster-app key: uri image: alpine:3.19 command: ['sh', '-c'] diff --git a/charts/paradedb/test/paradedb-minio-backup-restore/04-data_write.yaml b/charts/paradedb/test/paradedb-minio-backup-restore/04-data_write.yaml index 646c7e6de..aa8b243f0 100644 --- a/charts/paradedb/test/paradedb-minio-backup-restore/04-data_write.yaml +++ b/charts/paradedb/test/paradedb-minio-backup-restore/04-data_write.yaml @@ -39,7 +39,7 @@ spec: - name: DB_URI valueFrom: secretKeyRef: - name: paradedb-cluster-superuser + name: paradedb-paradedb-cluster-superuser key: uri image: alpine:3.19 command: ['sh', '-c'] diff --git a/charts/paradedb/test/paradedb-minio-backup-restore/05-backup.yaml b/charts/paradedb/test/paradedb-minio-backup-restore/05-backup.yaml index 543c9c110..d8ac63218 100644 --- a/charts/paradedb/test/paradedb-minio-backup-restore/05-backup.yaml +++ b/charts/paradedb/test/paradedb-minio-backup-restore/05-backup.yaml @@ -5,4 +5,4 @@ metadata: spec: method: barmanObjectStore cluster: - name: paradedb-cluster + name: paradedb-paradedb-cluster diff --git a/charts/paradedb/test/paradedb-minio-backup-restore/05-backup_completed-assert.yaml b/charts/paradedb/test/paradedb-minio-backup-restore/05-backup_completed-assert.yaml index 013b0aad5..c1103592e 100644 --- a/charts/paradedb/test/paradedb-minio-backup-restore/05-backup_completed-assert.yaml +++ b/charts/paradedb/test/paradedb-minio-backup-restore/05-backup_completed-assert.yaml @@ -4,7 +4,7 @@ metadata: name: post-init-backup spec: cluster: - name: paradedb-cluster + name: paradedb-paradedb-cluster method: barmanObjectStore status: phase: completed diff --git a/charts/paradedb/test/paradedb-minio-backup-restore/05-backup_running-assert.yaml b/charts/paradedb/test/paradedb-minio-backup-restore/05-backup_running-assert.yaml index 6610deb8f..cdb6605f2 100644 --- a/charts/paradedb/test/paradedb-minio-backup-restore/05-backup_running-assert.yaml +++ b/charts/paradedb/test/paradedb-minio-backup-restore/05-backup_running-assert.yaml @@ -4,7 +4,7 @@ metadata: name: post-init-backup spec: cluster: - name: paradedb-cluster + name: paradedb-paradedb-cluster method: barmanObjectStore status: phase: running diff --git a/charts/paradedb/test/paradedb-minio-backup-restore/05-checkpoint.yaml b/charts/paradedb/test/paradedb-minio-backup-restore/05-checkpoint.yaml index bf886cc7b..7d6abe4e4 100644 --- a/charts/paradedb/test/paradedb-minio-backup-restore/05-checkpoint.yaml +++ b/charts/paradedb/test/paradedb-minio-backup-restore/05-checkpoint.yaml @@ -12,7 +12,7 @@ spec: - name: DB_URI valueFrom: secretKeyRef: - name: paradedb-cluster-superuser + name: paradedb-paradedb-cluster-superuser key: uri image: alpine:3.19 command: ['sh', '-c'] diff --git a/charts/paradedb/test/paradedb-minio-backup-restore/06-post_backup_data_write.yaml b/charts/paradedb/test/paradedb-minio-backup-restore/06-post_backup_data_write.yaml index 8490de2c9..599a37a48 100644 --- a/charts/paradedb/test/paradedb-minio-backup-restore/06-post_backup_data_write.yaml +++ b/charts/paradedb/test/paradedb-minio-backup-restore/06-post_backup_data_write.yaml @@ -12,7 +12,7 @@ spec: - name: DB_URI valueFrom: secretKeyRef: - name: paradedb-cluster-superuser + name: paradedb-paradedb-cluster-superuser key: uri - name: NAMESPACE valueFrom: diff --git a/charts/paradedb/test/paradedb-minio-backup-restore/07-recovery_backup_pitr_cluster-assert.yaml b/charts/paradedb/test/paradedb-minio-backup-restore/07-recovery_backup_pitr_cluster-assert.yaml index 2b6b9651f..096619f0e 100644 --- a/charts/paradedb/test/paradedb-minio-backup-restore/07-recovery_backup_pitr_cluster-assert.yaml +++ b/charts/paradedb/test/paradedb-minio-backup-restore/07-recovery_backup_pitr_cluster-assert.yaml @@ -1,6 +1,6 @@ apiVersion: postgresql.cnpg.io/v1 kind: Cluster metadata: - name: recovery-backup-pitr-cluster + name: recovery-backup-pitr-paradedb-cluster status: readyInstances: 2 diff --git a/charts/paradedb/test/paradedb-minio-backup-restore/08-data_test.yaml b/charts/paradedb/test/paradedb-minio-backup-restore/08-data_test.yaml index 5fb4faf39..8e88f58a7 100644 --- a/charts/paradedb/test/paradedb-minio-backup-restore/08-data_test.yaml +++ b/charts/paradedb/test/paradedb-minio-backup-restore/08-data_test.yaml @@ -12,7 +12,7 @@ spec: - name: DB_URI valueFrom: secretKeyRef: - name: recovery-backup-pitr-cluster-superuser + name: recovery-backup-pitr-paradedb-cluster-superuser key: uri image: alpine:3.19 command: ['sh', '-c'] diff --git a/charts/paradedb/test/pooler/01-pooler_cluster-assert.yaml b/charts/paradedb/test/pooler/01-pooler_cluster-assert.yaml index 1b6178394..3b5b778b2 100644 --- a/charts/paradedb/test/pooler/01-pooler_cluster-assert.yaml +++ b/charts/paradedb/test/pooler/01-pooler_cluster-assert.yaml @@ -1,17 +1,17 @@ apiVersion: apps/v1 kind: Deployment metadata: - name: pooler-cluster-pooler-rw + name: pooler-paradedb-cluster-pooler-rw status: readyReplicas: 2 --- apiVersion: postgresql.cnpg.io/v1 kind: Pooler metadata: - name: pooler-cluster-pooler-rw + name: pooler-paradedb-cluster-pooler-rw spec: cluster: - name: pooler-cluster + name: pooler-paradedb-cluster instances: 2 pgbouncer: poolMode: transaction diff --git a/charts/paradedb/test/postgresql-cluster-configuration/01-non_default_configuration_cluster-assert.yaml b/charts/paradedb/test/postgresql-cluster-configuration/01-non_default_configuration_cluster-assert.yaml index 5f5c62a68..c94daffdd 100644 --- a/charts/paradedb/test/postgresql-cluster-configuration/01-non_default_configuration_cluster-assert.yaml +++ b/charts/paradedb/test/postgresql-cluster-configuration/01-non_default_configuration_cluster-assert.yaml @@ -1,7 +1,7 @@ apiVersion: postgresql.cnpg.io/v1 kind: Cluster metadata: - name: non-default-configuration-cluster + name: non-default-configuration-paradedb-cluster labels: foo: bar annotations: diff --git a/charts/paradedb/test/postgresql-minio-backup-restore/01-standalone_cluster-assert.yaml b/charts/paradedb/test/postgresql-minio-backup-restore/01-standalone_cluster-assert.yaml index 0663e78c9..46f4eb6b8 100644 --- a/charts/paradedb/test/postgresql-minio-backup-restore/01-standalone_cluster-assert.yaml +++ b/charts/paradedb/test/postgresql-minio-backup-restore/01-standalone_cluster-assert.yaml @@ -1,6 +1,6 @@ apiVersion: postgresql.cnpg.io/v1 kind: Cluster metadata: - name: standalone-cluster + name: standalone-paradedb-cluster status: readyInstances: 2 diff --git a/charts/paradedb/test/postgresql-minio-backup-restore/02-data_write.yaml b/charts/paradedb/test/postgresql-minio-backup-restore/02-data_write.yaml index e674d8b53..f154aa447 100644 --- a/charts/paradedb/test/postgresql-minio-backup-restore/02-data_write.yaml +++ b/charts/paradedb/test/postgresql-minio-backup-restore/02-data_write.yaml @@ -12,7 +12,7 @@ spec: - name: DB_URI valueFrom: secretKeyRef: - name: standalone-cluster-superuser + name: standalone-paradedb-cluster-superuser key: uri image: alpine:3.19 command: ['sh', '-c'] diff --git a/charts/paradedb/test/postgresql-minio-backup-restore/03-backup.yaml b/charts/paradedb/test/postgresql-minio-backup-restore/03-backup.yaml index c3afd4676..1f7f6a60b 100644 --- a/charts/paradedb/test/postgresql-minio-backup-restore/03-backup.yaml +++ b/charts/paradedb/test/postgresql-minio-backup-restore/03-backup.yaml @@ -5,4 +5,4 @@ metadata: spec: method: barmanObjectStore cluster: - name: standalone-cluster + name: standalone-paradedb-cluster diff --git a/charts/paradedb/test/postgresql-minio-backup-restore/03-backup_completed-assert.yaml b/charts/paradedb/test/postgresql-minio-backup-restore/03-backup_completed-assert.yaml index 7b1e9e534..1d0d3fc25 100644 --- a/charts/paradedb/test/postgresql-minio-backup-restore/03-backup_completed-assert.yaml +++ b/charts/paradedb/test/postgresql-minio-backup-restore/03-backup_completed-assert.yaml @@ -4,7 +4,7 @@ metadata: name: post-init-backup spec: cluster: - name: standalone-cluster + name: standalone-paradedb-cluster method: barmanObjectStore status: phase: completed diff --git a/charts/paradedb/test/postgresql-minio-backup-restore/03-backup_running-assert.yaml b/charts/paradedb/test/postgresql-minio-backup-restore/03-backup_running-assert.yaml index cbd9645c5..b6578ba09 100644 --- a/charts/paradedb/test/postgresql-minio-backup-restore/03-backup_running-assert.yaml +++ b/charts/paradedb/test/postgresql-minio-backup-restore/03-backup_running-assert.yaml @@ -4,7 +4,7 @@ metadata: name: post-init-backup spec: cluster: - name: standalone-cluster + name: standalone-paradedb-cluster method: barmanObjectStore status: phase: running diff --git a/charts/paradedb/test/postgresql-minio-backup-restore/03-checkpoint.yaml b/charts/paradedb/test/postgresql-minio-backup-restore/03-checkpoint.yaml index 52862bf07..a4f396898 100644 --- a/charts/paradedb/test/postgresql-minio-backup-restore/03-checkpoint.yaml +++ b/charts/paradedb/test/postgresql-minio-backup-restore/03-checkpoint.yaml @@ -12,7 +12,7 @@ spec: - name: DB_URI valueFrom: secretKeyRef: - name: standalone-cluster-superuser + name: standalone-paradedb-cluster-superuser key: uri image: alpine:3.19 command: ['sh', '-c'] diff --git a/charts/paradedb/test/postgresql-minio-backup-restore/04-post_backup_data_write.yaml b/charts/paradedb/test/postgresql-minio-backup-restore/04-post_backup_data_write.yaml index 2e56595de..207ed5445 100644 --- a/charts/paradedb/test/postgresql-minio-backup-restore/04-post_backup_data_write.yaml +++ b/charts/paradedb/test/postgresql-minio-backup-restore/04-post_backup_data_write.yaml @@ -39,7 +39,7 @@ spec: - name: DB_URI valueFrom: secretKeyRef: - name: standalone-cluster-superuser + name: standalone-paradedb-cluster-superuser key: uri - name: NAMESPACE valueFrom: diff --git a/charts/paradedb/test/postgresql-minio-backup-restore/05-recovery_backup_cluster-assert.yaml b/charts/paradedb/test/postgresql-minio-backup-restore/05-recovery_backup_cluster-assert.yaml index 90c4b24db..a138ec961 100644 --- a/charts/paradedb/test/postgresql-minio-backup-restore/05-recovery_backup_cluster-assert.yaml +++ b/charts/paradedb/test/postgresql-minio-backup-restore/05-recovery_backup_cluster-assert.yaml @@ -1,6 +1,6 @@ apiVersion: postgresql.cnpg.io/v1 kind: Cluster metadata: - name: recovery-backup-cluster + name: recovery-backup-paradedb-cluster status: readyInstances: 2 diff --git a/charts/paradedb/test/postgresql-minio-backup-restore/06-data_test.yaml b/charts/paradedb/test/postgresql-minio-backup-restore/06-data_test.yaml index 86a15439b..95d2343ec 100644 --- a/charts/paradedb/test/postgresql-minio-backup-restore/06-data_test.yaml +++ b/charts/paradedb/test/postgresql-minio-backup-restore/06-data_test.yaml @@ -12,7 +12,7 @@ spec: - name: DB_URI valueFrom: secretKeyRef: - name: recovery-backup-cluster-superuser + name: recovery-backup-paradedb-cluster-superuser key: uri image: alpine:3.19 command: ['sh', '-c'] diff --git a/charts/paradedb/test/postgresql-minio-backup-restore/07-recovery_object_store_cluster-assert.yaml b/charts/paradedb/test/postgresql-minio-backup-restore/07-recovery_object_store_cluster-assert.yaml index f8693036b..783ca7823 100644 --- a/charts/paradedb/test/postgresql-minio-backup-restore/07-recovery_object_store_cluster-assert.yaml +++ b/charts/paradedb/test/postgresql-minio-backup-restore/07-recovery_object_store_cluster-assert.yaml @@ -1,6 +1,6 @@ apiVersion: postgresql.cnpg.io/v1 kind: Cluster metadata: - name: recovery-object-store-cluster + name: recovery-object-store-paradedb-cluster status: readyInstances: 2 diff --git a/charts/paradedb/test/postgresql-minio-backup-restore/07-recovery_object_store_cluster.yaml b/charts/paradedb/test/postgresql-minio-backup-restore/07-recovery_object_store_cluster.yaml index 7f059e394..d372b1598 100644 --- a/charts/paradedb/test/postgresql-minio-backup-restore/07-recovery_object_store_cluster.yaml +++ b/charts/paradedb/test/postgresql-minio-backup-restore/07-recovery_object_store_cluster.yaml @@ -8,7 +8,7 @@ cluster: recovery: method: object_store - clusterName: "standalone-cluster" + clusterName: "standalone-paradedb-cluster" provider: s3 endpointURL: "https://minio.minio.svc.cluster.local" endpointCA: diff --git a/charts/paradedb/test/postgresql-minio-backup-restore/08-data_test.yaml b/charts/paradedb/test/postgresql-minio-backup-restore/08-data_test.yaml index 94ac2c34e..3df8e415f 100644 --- a/charts/paradedb/test/postgresql-minio-backup-restore/08-data_test.yaml +++ b/charts/paradedb/test/postgresql-minio-backup-restore/08-data_test.yaml @@ -12,7 +12,7 @@ spec: - name: DB_URI valueFrom: secretKeyRef: - name: recovery-object-store-cluster-superuser + name: recovery-object-store-paradedb-cluster-superuser key: uri image: alpine:3.19 command: ['sh', '-c'] diff --git a/charts/paradedb/test/postgresql-minio-backup-restore/09-recovery_backup_pitr_cluster-assert.yaml b/charts/paradedb/test/postgresql-minio-backup-restore/09-recovery_backup_pitr_cluster-assert.yaml index 2b6b9651f..096619f0e 100644 --- a/charts/paradedb/test/postgresql-minio-backup-restore/09-recovery_backup_pitr_cluster-assert.yaml +++ b/charts/paradedb/test/postgresql-minio-backup-restore/09-recovery_backup_pitr_cluster-assert.yaml @@ -1,6 +1,6 @@ apiVersion: postgresql.cnpg.io/v1 kind: Cluster metadata: - name: recovery-backup-pitr-cluster + name: recovery-backup-pitr-paradedb-cluster status: readyInstances: 2 diff --git a/charts/paradedb/test/postgresql-minio-backup-restore/10-data_test.yaml b/charts/paradedb/test/postgresql-minio-backup-restore/10-data_test.yaml index 5fb4faf39..8e88f58a7 100644 --- a/charts/paradedb/test/postgresql-minio-backup-restore/10-data_test.yaml +++ b/charts/paradedb/test/postgresql-minio-backup-restore/10-data_test.yaml @@ -12,7 +12,7 @@ spec: - name: DB_URI valueFrom: secretKeyRef: - name: recovery-backup-pitr-cluster-superuser + name: recovery-backup-pitr-paradedb-cluster-superuser key: uri image: alpine:3.19 command: ['sh', '-c'] diff --git a/charts/paradedb/test/postgresql-pg_basebackup/00-source-cluster-assert.yaml b/charts/paradedb/test/postgresql-pg_basebackup/00-source-cluster-assert.yaml index 90ea90fd5..899732fc6 100644 --- a/charts/paradedb/test/postgresql-pg_basebackup/00-source-cluster-assert.yaml +++ b/charts/paradedb/test/postgresql-pg_basebackup/00-source-cluster-assert.yaml @@ -1,6 +1,6 @@ apiVersion: postgresql.cnpg.io/v1 kind: Cluster metadata: - name: source-cluster + name: source-paradedb-cluster status: readyInstances: 1 diff --git a/charts/paradedb/test/postgresql-pg_basebackup/01-data_write.yaml b/charts/paradedb/test/postgresql-pg_basebackup/01-data_write.yaml index cc5a743ad..8304c3843 100644 --- a/charts/paradedb/test/postgresql-pg_basebackup/01-data_write.yaml +++ b/charts/paradedb/test/postgresql-pg_basebackup/01-data_write.yaml @@ -12,15 +12,15 @@ spec: - name: DB_USER valueFrom: secretKeyRef: - name: source-cluster-superuser + name: source-paradedb-cluster-superuser key: username - name: DB_PASS valueFrom: secretKeyRef: - name: source-cluster-superuser + name: source-paradedb-cluster-superuser key: password - name: DB_URI - value: postgres://$(DB_USER):$(DB_PASS)@source-cluster-rw:5432 + value: postgres://$(DB_USER):$(DB_PASS)@source-paradedb-cluster-rw:5432 image: alpine:3.19 command: ['sh', '-c'] args: diff --git a/charts/paradedb/test/postgresql-pg_basebackup/02-pg_basebackup-cluster-assert.yaml b/charts/paradedb/test/postgresql-pg_basebackup/02-pg_basebackup-cluster-assert.yaml index 9b953d44a..ef179278c 100644 --- a/charts/paradedb/test/postgresql-pg_basebackup/02-pg_basebackup-cluster-assert.yaml +++ b/charts/paradedb/test/postgresql-pg_basebackup/02-pg_basebackup-cluster-assert.yaml @@ -1,6 +1,6 @@ apiVersion: postgresql.cnpg.io/v1 kind: Cluster metadata: - name: pg-basebackup-cluster + name: pg-basebackup-paradedb-cluster status: readyInstances: 2 diff --git a/charts/paradedb/test/postgresql-pg_basebackup/02-pg_basebackup-cluster.yaml b/charts/paradedb/test/postgresql-pg_basebackup/02-pg_basebackup-cluster.yaml index d389200e8..099a599dc 100644 --- a/charts/paradedb/test/postgresql-pg_basebackup/02-pg_basebackup-cluster.yaml +++ b/charts/paradedb/test/postgresql-pg_basebackup/02-pg_basebackup-cluster.yaml @@ -4,15 +4,15 @@ recovery: method: "pg_basebackup" pgBaseBackup: source: - host: "source-cluster-rw" + host: "source-paradedb-cluster-rw" database: "mygooddb" username: "streaming_replica" sslMode: "require" sslKeySecret: - name: source-cluster-replication + name: source-paradedb-cluster-replication key: tls.key sslCertSecret: - name: source-cluster-replication + name: source-paradedb-cluster-replication key: tls.crt cluster: diff --git a/charts/paradedb/test/postgresql-pg_basebackup/03-data_test.yaml b/charts/paradedb/test/postgresql-pg_basebackup/03-data_test.yaml index 40eb9029a..ed969256d 100644 --- a/charts/paradedb/test/postgresql-pg_basebackup/03-data_test.yaml +++ b/charts/paradedb/test/postgresql-pg_basebackup/03-data_test.yaml @@ -12,7 +12,7 @@ spec: - name: DB_URI valueFrom: secretKeyRef: - name: pg-basebackup-cluster-superuser + name: pg-basebackup-paradedb-cluster-superuser key: uri image: alpine:3.19 command: ['sh', '-c'] diff --git a/charts/paradedb/test/timescale-minio-backup-restore/01-timescale_cluster-assert.yaml b/charts/paradedb/test/timescale-minio-backup-restore/01-timescale_cluster-assert.yaml index 3bbd2f8fe..7dfd88ea2 100644 --- a/charts/paradedb/test/timescale-minio-backup-restore/01-timescale_cluster-assert.yaml +++ b/charts/paradedb/test/timescale-minio-backup-restore/01-timescale_cluster-assert.yaml @@ -1,6 +1,6 @@ apiVersion: postgresql.cnpg.io/v1 kind: Cluster metadata: - name: timescale-cluster + name: timescale-paradedb-cluster status: readyInstances: 2 diff --git a/charts/paradedb/test/timescale-minio-backup-restore/03-timescale_test.yaml b/charts/paradedb/test/timescale-minio-backup-restore/03-timescale_test.yaml index 9b7581f96..174db0aed 100644 --- a/charts/paradedb/test/timescale-minio-backup-restore/03-timescale_test.yaml +++ b/charts/paradedb/test/timescale-minio-backup-restore/03-timescale_test.yaml @@ -12,7 +12,7 @@ spec: - name: DB_URI valueFrom: secretKeyRef: - name: timescale-cluster-app + name: timescale-paradedb-cluster-app key: uri image: alpine:3.19 command: ['sh', '-c'] diff --git a/charts/paradedb/test/timescale-minio-backup-restore/04-data_write.yaml b/charts/paradedb/test/timescale-minio-backup-restore/04-data_write.yaml index b827de143..5eeb0b355 100644 --- a/charts/paradedb/test/timescale-minio-backup-restore/04-data_write.yaml +++ b/charts/paradedb/test/timescale-minio-backup-restore/04-data_write.yaml @@ -39,7 +39,7 @@ spec: - name: DB_URI valueFrom: secretKeyRef: - name: timescale-cluster-superuser + name: timescale-paradedb-cluster-superuser key: uri image: alpine:3.19 command: ['sh', '-c'] diff --git a/charts/paradedb/test/timescale-minio-backup-restore/05-backup.yaml b/charts/paradedb/test/timescale-minio-backup-restore/05-backup.yaml index be5e4b181..46ee202f4 100644 --- a/charts/paradedb/test/timescale-minio-backup-restore/05-backup.yaml +++ b/charts/paradedb/test/timescale-minio-backup-restore/05-backup.yaml @@ -5,4 +5,4 @@ metadata: spec: method: barmanObjectStore cluster: - name: timescale-cluster + name: timescale-paradedb-cluster diff --git a/charts/paradedb/test/timescale-minio-backup-restore/05-backup_completed-assert.yaml b/charts/paradedb/test/timescale-minio-backup-restore/05-backup_completed-assert.yaml index 040b1a49e..9572743bb 100644 --- a/charts/paradedb/test/timescale-minio-backup-restore/05-backup_completed-assert.yaml +++ b/charts/paradedb/test/timescale-minio-backup-restore/05-backup_completed-assert.yaml @@ -4,7 +4,7 @@ metadata: name: post-init-backup spec: cluster: - name: timescale-cluster + name: timescale-paradedb-cluster method: barmanObjectStore status: phase: completed diff --git a/charts/paradedb/test/timescale-minio-backup-restore/05-backup_running-assert.yaml b/charts/paradedb/test/timescale-minio-backup-restore/05-backup_running-assert.yaml index dc35727a0..f6c8a3503 100644 --- a/charts/paradedb/test/timescale-minio-backup-restore/05-backup_running-assert.yaml +++ b/charts/paradedb/test/timescale-minio-backup-restore/05-backup_running-assert.yaml @@ -4,7 +4,7 @@ metadata: name: post-init-backup spec: cluster: - name: timescale-cluster + name: timescale-paradedb-cluster method: barmanObjectStore status: phase: running diff --git a/charts/paradedb/test/timescale-minio-backup-restore/05-checkpoint.yaml b/charts/paradedb/test/timescale-minio-backup-restore/05-checkpoint.yaml index 3ba7fc727..669dc04d0 100644 --- a/charts/paradedb/test/timescale-minio-backup-restore/05-checkpoint.yaml +++ b/charts/paradedb/test/timescale-minio-backup-restore/05-checkpoint.yaml @@ -12,7 +12,7 @@ spec: - name: DB_URI valueFrom: secretKeyRef: - name: timescale-cluster-superuser + name: timescale-paradedb-cluster-superuser key: uri image: alpine:3.19 command: ['sh', '-c'] diff --git a/charts/paradedb/test/timescale-minio-backup-restore/06-post_backup_data_write.yaml b/charts/paradedb/test/timescale-minio-backup-restore/06-post_backup_data_write.yaml index 8585b247d..fe7fdebf2 100644 --- a/charts/paradedb/test/timescale-minio-backup-restore/06-post_backup_data_write.yaml +++ b/charts/paradedb/test/timescale-minio-backup-restore/06-post_backup_data_write.yaml @@ -12,7 +12,7 @@ spec: - name: DB_URI valueFrom: secretKeyRef: - name: timescale-cluster-superuser + name: timescale-paradedb-cluster-superuser key: uri - name: NAMESPACE valueFrom: diff --git a/charts/paradedb/test/timescale-minio-backup-restore/07-recovery_backup_pitr_cluster-assert.yaml b/charts/paradedb/test/timescale-minio-backup-restore/07-recovery_backup_pitr_cluster-assert.yaml index 2b6b9651f..096619f0e 100644 --- a/charts/paradedb/test/timescale-minio-backup-restore/07-recovery_backup_pitr_cluster-assert.yaml +++ b/charts/paradedb/test/timescale-minio-backup-restore/07-recovery_backup_pitr_cluster-assert.yaml @@ -1,6 +1,6 @@ apiVersion: postgresql.cnpg.io/v1 kind: Cluster metadata: - name: recovery-backup-pitr-cluster + name: recovery-backup-pitr-paradedb-cluster status: readyInstances: 2 diff --git a/charts/paradedb/test/timescale-minio-backup-restore/08-data_test.yaml b/charts/paradedb/test/timescale-minio-backup-restore/08-data_test.yaml index 5fb4faf39..8e88f58a7 100644 --- a/charts/paradedb/test/timescale-minio-backup-restore/08-data_test.yaml +++ b/charts/paradedb/test/timescale-minio-backup-restore/08-data_test.yaml @@ -12,7 +12,7 @@ spec: - name: DB_URI valueFrom: secretKeyRef: - name: recovery-backup-pitr-cluster-superuser + name: recovery-backup-pitr-paradedb-cluster-superuser key: uri image: alpine:3.19 command: ['sh', '-c']