From 59f001e8d2dcc5722cd0299e24c5623009290fd7 Mon Sep 17 00:00:00 2001 From: Itay Grudev Date: Sat, 21 Sep 2024 17:43:34 +0300 Subject: [PATCH] Renamed chart to `paradedb-cluster` (#22) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Philippe Noël --- .github/workflows/paradedb-publish-chart.yml | 2 +- .github/workflows/paradedb-test-eks.yml | 8 +- .github/workflows/tests-cluster-chainsaw.yaml | 4 +- .pre-commit-config.yaml | 4 +- Makefile | 2 +- README.md | 16 ++- .../{cluster => paradedb-cluster}/.DS_Store | Bin .../{cluster => paradedb-cluster}/.gitignore | 0 .../{cluster => paradedb-cluster}/.helmignore | 0 .../{cluster => paradedb-cluster}/Chart.yaml | 3 +- .../{cluster => paradedb-cluster}/README.md | 20 ++- charts/paradedb-cluster/README.md.gotmpl | 115 ++++++++++++++++++ .../docs/Getting Started.md | 0 .../docs/Recovery.md | 0 .../docs/runbooks/CNPGClusterHACritical.md | 0 .../docs/runbooks/CNPGClusterHAWarning.md | 0 .../CNPGClusterHighConnectionsCritical.md | 0 .../CNPGClusterHighConnectionsWarning.md | 0 .../runbooks/CNPGClusterHighReplicationLag.md | 0 .../CNPGClusterInstancesOnSameNode.md | 0 .../CNPGClusterLowDiskSpaceCritical.md | 0 .../CNPGClusterLowDiskSpaceWarning.md | 0 .../docs/runbooks/CNPGClusterOffline.md | 0 .../runbooks/CNPGClusterZoneSpreadWarning.md | 0 .../examples/.DS_Store | Bin .../examples/basic.yaml | 0 .../examples/custom-queries.yaml | 0 .../examples/image-catalog-ref.yaml | 0 .../examples/image-catalog.yaml | 0 .../examples/paradedb.yaml | 0 .../examples/pgbouncer.yaml | 0 .../examples/postgis.yaml | 0 .../examples/recovery-backup.yaml | 0 .../examples/recovery-object_store.yaml | 0 .../examples/recovery-pg_basebackup.yaml | 0 .../examples/standalone-s3.yaml | 0 .../examples/timescaledb.yaml | 0 .../prometheus_rules/cluster-ha-critical.yaml | 6 +- .../prometheus_rules/cluster-ha-warning.yaml | 6 +- .../cluster-high_connection-critical.yaml | 6 +- .../cluster-high_connection-warning.yaml | 6 +- .../cluster-high_replication_lag.yaml | 6 +- .../cluster-instances_on_same_node.yaml | 6 +- .../cluster-low_disk_space-critical.yaml | 6 +- .../cluster-low_disk_space-warning.yaml | 6 +- .../prometheus_rules/cluster-offline.yaml | 6 +- .../cluster-zone_spread-warning.yaml | 6 +- .../templates/NOTES.txt | 0 .../templates/_backup.tpl | 0 .../templates/_barman_object_store.tpl | 0 .../templates/_bootstrap.tpl | 0 .../templates/_colorize.tpl | 0 .../templates/_helpers.tpl | 0 .../templates/backup-azure-creds.yaml | 0 .../templates/backup-google-creds.yaml | 0 .../templates/backup-s3-creds.yaml | 0 .../templates/ca-bundle.yaml | 0 .../templates/cluster.yaml | 0 .../image-catalog-timescaledb-ha.yaml | 0 .../templates/image-catalog.yaml | 0 .../templates/pooler.yaml | 0 .../templates/prometheus-rule.yaml | 0 .../templates/recovery-azure-creds.yaml | 0 .../templates/recovery-google-creds.yaml | 0 .../recovery-pg_basebackup-password.yaml | 0 .../templates/recovery-s3-creds.yaml | 0 .../templates/scheduled-backups.yaml | 0 .../templates/tests/ping.yaml | 0 .../templates/user-metrics.yaml | 0 .../01-monitoring_cluster-assert.yaml | 12 +- .../monitoring/01-monitoring_cluster.yaml | 0 .../test/monitoring/chainsaw-test.yaml | 0 .../00-minio_cleanup-assert.yaml | 0 .../00-minio_cleanup.yaml | 0 .../01-paradedb_cluster-assert.yaml | 2 +- .../01-paradedb_cluster.yaml | 0 .../02-paradedb_write-assert.yaml | 0 .../02-paradedb_write.yaml | 2 +- .../03-paradedb_test-assert.yaml | 0 .../03-paradedb_test.yaml | 2 +- .../04-data_write-assert.yaml | 0 .../04-data_write.yaml | 2 +- .../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-assert.yaml | 0 .../06-post_backup_data_write.yaml | 2 +- ...7-recovery_backup_pitr_cluster-assert.yaml | 2 +- .../07-recovery_backup_pitr_cluster.yaml | 0 .../08-data_test-assert.yaml | 0 .../08-data_test.yaml | 2 +- .../chainsaw-test.yaml | 0 .../test/pooler/01-pooler_cluster-assert.yaml | 6 +- .../test/pooler/01-pooler_cluster.yaml | 0 .../test/pooler/chainsaw-test.yaml | 0 ..._default_configuration_cluster-assert.yaml | 2 +- .../01-non_default_configuration_cluster.yaml | 0 .../chainsaw-test.yaml | 0 .../00-minio_cleanup-assert.yaml | 0 .../00-minio_cleanup.yaml | 0 .../01-standalone_cluster-assert.yaml | 2 +- .../01-standalone_cluster.yaml | 0 .../02-data_write-assert.yaml | 0 .../02-data_write.yaml | 2 +- .../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-assert.yaml | 0 .../04-post_backup_data_write.yaml | 2 +- .../05-recovery_backup_cluster-assert.yaml | 2 +- .../05-recovery_backup_cluster.yaml | 0 .../06-data_test-assert.yaml | 0 .../06-data_test.yaml | 2 +- ...-recovery_object_store_cluster-assert.yaml | 2 +- .../07-recovery_object_store_cluster.yaml | 2 +- .../08-data_test-assert.yaml | 0 .../08-data_test.yaml | 2 +- ...9-recovery_backup_pitr_cluster-assert.yaml | 2 +- .../09-recovery_backup_pitr_cluster.yaml | 0 .../10-data_test-assert.yaml | 0 .../10-data_test.yaml | 2 +- .../chainsaw-test.yaml | 0 .../00-source-cluster-assert.yaml | 2 +- .../00-source-cluster.yaml | 0 .../01-data_write-assert.yaml | 0 .../01-data_write.yaml | 6 +- .../02-pg_basebackup-cluster-assert.yaml | 2 +- .../02-pg_basebackup-cluster.yaml | 6 +- .../03-data_test-assert.yaml | 0 .../03-data_test.yaml | 2 +- .../chainsaw-test.yaml | 0 .../00-minio_cleanup-assert.yaml | 0 .../00-minio_cleanup.yaml | 0 .../01-timescale_cluster-assert.yaml | 2 +- .../01-timescale_cluster.yaml | 0 .../03-timescale_test-assert.yaml | 0 .../03-timescale_test.yaml | 2 +- .../04-data_write-assert.yaml | 0 .../04-data_write.yaml | 2 +- .../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-assert.yaml | 0 .../06-post_backup_data_write.yaml | 2 +- ...7-recovery_backup_pitr_cluster-assert.yaml | 2 +- .../07-recovery_backup_pitr_cluster.yaml | 0 .../08-data_test-assert.yaml | 0 .../08-data_test.yaml | 2 +- .../chainsaw-test.yaml | 0 .../values.schema.json | 0 .../{cluster => paradedb-cluster}/values.yaml | 0 154 files changed, 235 insertions(+), 107 deletions(-) rename charts/{cluster => paradedb-cluster}/.DS_Store (100%) rename charts/{cluster => paradedb-cluster}/.gitignore (100%) rename charts/{cluster => paradedb-cluster}/.helmignore (100%) rename charts/{cluster => paradedb-cluster}/Chart.yaml (95%) rename charts/{cluster => paradedb-cluster}/README.md (96%) create mode 100644 charts/paradedb-cluster/README.md.gotmpl rename charts/{cluster => paradedb-cluster}/docs/Getting Started.md (100%) rename charts/{cluster => paradedb-cluster}/docs/Recovery.md (100%) rename charts/{cluster => paradedb-cluster}/docs/runbooks/CNPGClusterHACritical.md (100%) rename charts/{cluster => paradedb-cluster}/docs/runbooks/CNPGClusterHAWarning.md (100%) rename charts/{cluster => paradedb-cluster}/docs/runbooks/CNPGClusterHighConnectionsCritical.md (100%) rename charts/{cluster => paradedb-cluster}/docs/runbooks/CNPGClusterHighConnectionsWarning.md (100%) rename charts/{cluster => paradedb-cluster}/docs/runbooks/CNPGClusterHighReplicationLag.md (100%) rename charts/{cluster => paradedb-cluster}/docs/runbooks/CNPGClusterInstancesOnSameNode.md (100%) rename charts/{cluster => paradedb-cluster}/docs/runbooks/CNPGClusterLowDiskSpaceCritical.md (100%) rename charts/{cluster => paradedb-cluster}/docs/runbooks/CNPGClusterLowDiskSpaceWarning.md (100%) rename charts/{cluster => paradedb-cluster}/docs/runbooks/CNPGClusterOffline.md (100%) rename charts/{cluster => paradedb-cluster}/docs/runbooks/CNPGClusterZoneSpreadWarning.md (100%) rename charts/{cluster => paradedb-cluster}/examples/.DS_Store (100%) rename charts/{cluster => paradedb-cluster}/examples/basic.yaml (100%) rename charts/{cluster => paradedb-cluster}/examples/custom-queries.yaml (100%) rename charts/{cluster => paradedb-cluster}/examples/image-catalog-ref.yaml (100%) rename charts/{cluster => paradedb-cluster}/examples/image-catalog.yaml (100%) rename charts/{cluster => paradedb-cluster}/examples/paradedb.yaml (100%) rename charts/{cluster => paradedb-cluster}/examples/pgbouncer.yaml (100%) rename charts/{cluster => paradedb-cluster}/examples/postgis.yaml (100%) rename charts/{cluster => paradedb-cluster}/examples/recovery-backup.yaml (100%) rename charts/{cluster => paradedb-cluster}/examples/recovery-object_store.yaml (100%) rename charts/{cluster => paradedb-cluster}/examples/recovery-pg_basebackup.yaml (100%) rename charts/{cluster => paradedb-cluster}/examples/standalone-s3.yaml (100%) rename charts/{cluster => paradedb-cluster}/examples/timescaledb.yaml (100%) rename charts/{cluster => paradedb-cluster}/prometheus_rules/cluster-ha-critical.yaml (79%) rename charts/{cluster => paradedb-cluster}/prometheus_rules/cluster-ha-warning.yaml (77%) rename charts/{cluster => paradedb-cluster}/prometheus_rules/cluster-high_connection-critical.yaml (63%) rename charts/{cluster => paradedb-cluster}/prometheus_rules/cluster-high_connection-warning.yaml (62%) rename charts/{cluster => paradedb-cluster}/prometheus_rules/cluster-high_replication_lag.yaml (63%) rename charts/{cluster => paradedb-cluster}/prometheus_rules/cluster-instances_on_same_node.yaml (65%) rename charts/{cluster => paradedb-cluster}/prometheus_rules/cluster-low_disk_space-critical.yaml (81%) rename charts/{cluster => paradedb-cluster}/prometheus_rules/cluster-low_disk_space-warning.yaml (81%) rename charts/{cluster => paradedb-cluster}/prometheus_rules/cluster-offline.yaml (68%) rename charts/{cluster => paradedb-cluster}/prometheus_rules/cluster-zone_spread-warning.yaml (68%) rename charts/{cluster => paradedb-cluster}/templates/NOTES.txt (100%) rename charts/{cluster => paradedb-cluster}/templates/_backup.tpl (100%) rename charts/{cluster => paradedb-cluster}/templates/_barman_object_store.tpl (100%) rename charts/{cluster => paradedb-cluster}/templates/_bootstrap.tpl (100%) rename charts/{cluster => paradedb-cluster}/templates/_colorize.tpl (100%) rename charts/{cluster => paradedb-cluster}/templates/_helpers.tpl (100%) rename charts/{cluster => paradedb-cluster}/templates/backup-azure-creds.yaml (100%) rename charts/{cluster => paradedb-cluster}/templates/backup-google-creds.yaml (100%) rename charts/{cluster => paradedb-cluster}/templates/backup-s3-creds.yaml (100%) rename charts/{cluster => paradedb-cluster}/templates/ca-bundle.yaml (100%) rename charts/{cluster => paradedb-cluster}/templates/cluster.yaml (100%) rename charts/{cluster => paradedb-cluster}/templates/image-catalog-timescaledb-ha.yaml (100%) rename charts/{cluster => paradedb-cluster}/templates/image-catalog.yaml (100%) rename charts/{cluster => paradedb-cluster}/templates/pooler.yaml (100%) rename charts/{cluster => paradedb-cluster}/templates/prometheus-rule.yaml (100%) rename charts/{cluster => paradedb-cluster}/templates/recovery-azure-creds.yaml (100%) rename charts/{cluster => paradedb-cluster}/templates/recovery-google-creds.yaml (100%) rename charts/{cluster => paradedb-cluster}/templates/recovery-pg_basebackup-password.yaml (100%) rename charts/{cluster => paradedb-cluster}/templates/recovery-s3-creds.yaml (100%) rename charts/{cluster => paradedb-cluster}/templates/scheduled-backups.yaml (100%) rename charts/{cluster => paradedb-cluster}/templates/tests/ping.yaml (100%) rename charts/{cluster => paradedb-cluster}/templates/user-metrics.yaml (100%) rename charts/{cluster => paradedb-cluster}/test/monitoring/01-monitoring_cluster-assert.yaml (70%) rename charts/{cluster => paradedb-cluster}/test/monitoring/01-monitoring_cluster.yaml (100%) rename charts/{cluster => paradedb-cluster}/test/monitoring/chainsaw-test.yaml (100%) rename charts/{cluster => paradedb-cluster}/test/paradedb-minio-backup-restore/00-minio_cleanup-assert.yaml (100%) rename charts/{cluster => paradedb-cluster}/test/paradedb-minio-backup-restore/00-minio_cleanup.yaml (100%) rename charts/{cluster => paradedb-cluster}/test/paradedb-minio-backup-restore/01-paradedb_cluster-assert.yaml (71%) rename charts/{cluster => paradedb-cluster}/test/paradedb-minio-backup-restore/01-paradedb_cluster.yaml (100%) rename charts/{cluster => paradedb-cluster}/test/paradedb-minio-backup-restore/02-paradedb_write-assert.yaml (100%) rename charts/{cluster => paradedb-cluster}/test/paradedb-minio-backup-restore/02-paradedb_write.yaml (95%) rename charts/{cluster => paradedb-cluster}/test/paradedb-minio-backup-restore/03-paradedb_test-assert.yaml (100%) rename charts/{cluster => paradedb-cluster}/test/paradedb-minio-backup-restore/03-paradedb_test.yaml (92%) rename charts/{cluster => paradedb-cluster}/test/paradedb-minio-backup-restore/04-data_write-assert.yaml (100%) rename charts/{cluster/test/timescale-minio-backup-restore => paradedb-cluster/test/paradedb-minio-backup-restore}/04-data_write.yaml (95%) rename charts/{cluster/test/timescale-minio-backup-restore => paradedb-cluster/test/paradedb-minio-backup-restore}/05-backup.yaml (77%) rename charts/{cluster/test/timescale-minio-backup-restore => paradedb-cluster/test/paradedb-minio-backup-restore}/05-backup_completed-assert.yaml (81%) rename charts/{cluster/test/timescale-minio-backup-restore => paradedb-cluster/test/paradedb-minio-backup-restore}/05-backup_running-assert.yaml (80%) rename charts/{cluster/test/timescale-minio-backup-restore => paradedb-cluster/test/paradedb-minio-backup-restore}/05-checkpoint.yaml (92%) rename charts/{cluster => paradedb-cluster}/test/paradedb-minio-backup-restore/06-post_backup_data_write-assert.yaml (100%) rename charts/{cluster/test/timescale-minio-backup-restore => paradedb-cluster/test/paradedb-minio-backup-restore}/06-post_backup_data_write.yaml (92%) rename charts/{cluster/test/timescale-minio-backup-restore => paradedb-cluster/test/paradedb-minio-backup-restore}/07-recovery_backup_pitr_cluster-assert.yaml (65%) rename charts/{cluster => paradedb-cluster}/test/paradedb-minio-backup-restore/07-recovery_backup_pitr_cluster.yaml (100%) rename charts/{cluster => paradedb-cluster}/test/paradedb-minio-backup-restore/08-data_test-assert.yaml (100%) rename charts/{cluster => paradedb-cluster}/test/paradedb-minio-backup-restore/08-data_test.yaml (92%) rename charts/{cluster => paradedb-cluster}/test/paradedb-minio-backup-restore/chainsaw-test.yaml (100%) rename charts/{cluster => paradedb-cluster}/test/pooler/01-pooler_cluster-assert.yaml (64%) rename charts/{cluster => paradedb-cluster}/test/pooler/01-pooler_cluster.yaml (100%) rename charts/{cluster => paradedb-cluster}/test/pooler/chainsaw-test.yaml (100%) rename charts/{cluster => paradedb-cluster}/test/postgresql-cluster-configuration/01-non_default_configuration_cluster-assert.yaml (97%) rename charts/{cluster => paradedb-cluster}/test/postgresql-cluster-configuration/01-non_default_configuration_cluster.yaml (100%) rename charts/{cluster => paradedb-cluster}/test/postgresql-cluster-configuration/chainsaw-test.yaml (100%) rename charts/{cluster => paradedb-cluster}/test/postgresql-minio-backup-restore/00-minio_cleanup-assert.yaml (100%) rename charts/{cluster => paradedb-cluster}/test/postgresql-minio-backup-restore/00-minio_cleanup.yaml (100%) rename charts/{cluster => paradedb-cluster}/test/postgresql-minio-backup-restore/01-standalone_cluster-assert.yaml (70%) rename charts/{cluster => paradedb-cluster}/test/postgresql-minio-backup-restore/01-standalone_cluster.yaml (100%) rename charts/{cluster => paradedb-cluster}/test/postgresql-minio-backup-restore/02-data_write-assert.yaml (100%) rename charts/{cluster => paradedb-cluster}/test/postgresql-minio-backup-restore/02-data_write.yaml (90%) rename charts/{cluster => paradedb-cluster}/test/postgresql-minio-backup-restore/03-backup.yaml (76%) rename charts/{cluster => paradedb-cluster}/test/postgresql-minio-backup-restore/03-backup_completed-assert.yaml (80%) rename charts/{cluster => paradedb-cluster}/test/postgresql-minio-backup-restore/03-backup_running-assert.yaml (80%) rename charts/{cluster => paradedb-cluster}/test/postgresql-minio-backup-restore/03-checkpoint.yaml (91%) rename charts/{cluster => paradedb-cluster}/test/postgresql-minio-backup-restore/04-post_backup_data_write-assert.yaml (100%) rename charts/{cluster => paradedb-cluster}/test/postgresql-minio-backup-restore/04-post_backup_data_write.yaml (95%) rename charts/{cluster => paradedb-cluster}/test/postgresql-minio-backup-restore/05-recovery_backup_cluster-assert.yaml (67%) rename charts/{cluster => paradedb-cluster}/test/postgresql-minio-backup-restore/05-recovery_backup_cluster.yaml (100%) rename charts/{cluster => paradedb-cluster}/test/postgresql-minio-backup-restore/06-data_test-assert.yaml (100%) rename charts/{cluster => paradedb-cluster}/test/postgresql-minio-backup-restore/06-data_test.yaml (90%) rename charts/{cluster => paradedb-cluster}/test/postgresql-minio-backup-restore/07-recovery_object_store_cluster-assert.yaml (64%) rename charts/{cluster => paradedb-cluster}/test/postgresql-minio-backup-restore/07-recovery_object_store_cluster.yaml (95%) rename charts/{cluster => paradedb-cluster}/test/postgresql-minio-backup-restore/08-data_test-assert.yaml (100%) rename charts/{cluster => paradedb-cluster}/test/postgresql-minio-backup-restore/08-data_test.yaml (89%) rename charts/{cluster => paradedb-cluster}/test/postgresql-minio-backup-restore/09-recovery_backup_pitr_cluster-assert.yaml (65%) rename charts/{cluster => paradedb-cluster}/test/postgresql-minio-backup-restore/09-recovery_backup_pitr_cluster.yaml (100%) rename charts/{cluster => paradedb-cluster}/test/postgresql-minio-backup-restore/10-data_test-assert.yaml (100%) rename charts/{cluster => paradedb-cluster}/test/postgresql-minio-backup-restore/10-data_test.yaml (92%) rename charts/{cluster => paradedb-cluster}/test/postgresql-minio-backup-restore/chainsaw-test.yaml (100%) rename charts/{cluster => paradedb-cluster}/test/postgresql-pg_basebackup/00-source-cluster-assert.yaml (72%) rename charts/{cluster => paradedb-cluster}/test/postgresql-pg_basebackup/00-source-cluster.yaml (100%) rename charts/{cluster => paradedb-cluster}/test/postgresql-pg_basebackup/01-data_write-assert.yaml (100%) rename charts/{cluster => paradedb-cluster}/test/postgresql-pg_basebackup/01-data_write.yaml (77%) rename charts/{cluster => paradedb-cluster}/test/postgresql-pg_basebackup/02-pg_basebackup-cluster-assert.yaml (68%) rename charts/{cluster => paradedb-cluster}/test/postgresql-pg_basebackup/02-pg_basebackup-cluster.yaml (69%) rename charts/{cluster => paradedb-cluster}/test/postgresql-pg_basebackup/03-data_test-assert.yaml (100%) rename charts/{cluster => paradedb-cluster}/test/postgresql-pg_basebackup/03-data_test.yaml (90%) rename charts/{cluster => paradedb-cluster}/test/postgresql-pg_basebackup/chainsaw-test.yaml (100%) rename charts/{cluster => paradedb-cluster}/test/timescale-minio-backup-restore/00-minio_cleanup-assert.yaml (100%) rename charts/{cluster => paradedb-cluster}/test/timescale-minio-backup-restore/00-minio_cleanup.yaml (100%) rename charts/{cluster => paradedb-cluster}/test/timescale-minio-backup-restore/01-timescale_cluster-assert.yaml (71%) rename charts/{cluster => paradedb-cluster}/test/timescale-minio-backup-restore/01-timescale_cluster.yaml (100%) rename charts/{cluster => paradedb-cluster}/test/timescale-minio-backup-restore/03-timescale_test-assert.yaml (100%) rename charts/{cluster => paradedb-cluster}/test/timescale-minio-backup-restore/03-timescale_test.yaml (91%) rename charts/{cluster => paradedb-cluster}/test/timescale-minio-backup-restore/04-data_write-assert.yaml (100%) rename charts/{cluster/test/paradedb-minio-backup-restore => paradedb-cluster/test/timescale-minio-backup-restore}/04-data_write.yaml (95%) rename charts/{cluster/test/paradedb-minio-backup-restore => paradedb-cluster/test/timescale-minio-backup-restore}/05-backup.yaml (77%) rename charts/{cluster/test/paradedb-minio-backup-restore => paradedb-cluster/test/timescale-minio-backup-restore}/05-backup_completed-assert.yaml (80%) rename charts/{cluster/test/paradedb-minio-backup-restore => paradedb-cluster/test/timescale-minio-backup-restore}/05-backup_running-assert.yaml (80%) rename charts/{cluster/test/paradedb-minio-backup-restore => paradedb-cluster/test/timescale-minio-backup-restore}/05-checkpoint.yaml (91%) rename charts/{cluster => paradedb-cluster}/test/timescale-minio-backup-restore/06-post_backup_data_write-assert.yaml (100%) rename charts/{cluster/test/paradedb-minio-backup-restore => paradedb-cluster/test/timescale-minio-backup-restore}/06-post_backup_data_write.yaml (91%) rename charts/{cluster/test/paradedb-minio-backup-restore => paradedb-cluster/test/timescale-minio-backup-restore}/07-recovery_backup_pitr_cluster-assert.yaml (65%) rename charts/{cluster => paradedb-cluster}/test/timescale-minio-backup-restore/07-recovery_backup_pitr_cluster.yaml (100%) rename charts/{cluster => paradedb-cluster}/test/timescale-minio-backup-restore/08-data_test-assert.yaml (100%) rename charts/{cluster => paradedb-cluster}/test/timescale-minio-backup-restore/08-data_test.yaml (92%) rename charts/{cluster => paradedb-cluster}/test/timescale-minio-backup-restore/chainsaw-test.yaml (100%) rename charts/{cluster => paradedb-cluster}/values.schema.json (100%) rename charts/{cluster => paradedb-cluster}/values.yaml (100%) diff --git a/.github/workflows/paradedb-publish-chart.yml b/.github/workflows/paradedb-publish-chart.yml index fa415af45..1c6966763 100644 --- a/.github/workflows/paradedb-publish-chart.yml +++ b/.github/workflows/paradedb-publish-chart.yml @@ -40,7 +40,7 @@ jobs: - name: Set Helm Chart Release Versions id: set_versions - working-directory: charts/cluster/ + working-directory: charts/paradedb-cluster/ env: GH_TOKEN: ${{ secrets.GHA_CREATE_RELEASE_PAT }} run: | diff --git a/.github/workflows/paradedb-test-eks.yml b/.github/workflows/paradedb-test-eks.yml index d347c5a4e..ab53cfcd4 100644 --- a/.github/workflows/paradedb-test-eks.yml +++ b/.github/workflows/paradedb-test-eks.yml @@ -10,7 +10,7 @@ on: pull_request: types: [opened, synchronize, reopened, ready_for_review] paths: - - "charts/cluster/*" + - "charts/paradedb-cluster/*" - ".github/workflows/paradedb-test-eks.yml" repository_dispatch: workflow_dispatch: @@ -95,7 +95,7 @@ jobs: kubectl get svc -n cnpg-system cnpg-webhook-service - name: Test Helm Dependency Update - working-directory: charts/cluster/ + working-directory: charts/paradedb-cluster/ run: helm dependency update . --debug - name: Fetch the latest ParadeDB release tag @@ -108,11 +108,11 @@ jobs: echo "version=$CLEANED_TAG" >> $GITHUB_OUTPUT - name: Test Helm Install - working-directory: charts/cluster/ + working-directory: charts/paradedb-cluster/ run: helm install paradedb . --namespace paradedb --create-namespace --set version.paradedb=${{ steps.paradedb-version.outputs.version }} --debug - name: Test Helm Upgrade - working-directory: charts/cluster/ + working-directory: charts/paradedb-cluster/ run: helm upgrade paradedb . --namespace paradedb --reuse-values --wait --debug - name: Test PostgreSQL Connection diff --git a/.github/workflows/tests-cluster-chainsaw.yaml b/.github/workflows/tests-cluster-chainsaw.yaml index 78714aea1..0e640bcbe 100644 --- a/.github/workflows/tests-cluster-chainsaw.yaml +++ b/.github/workflows/tests-cluster-chainsaw.yaml @@ -6,7 +6,7 @@ on: - 'gh-pages' jobs: - test-cluster-standalone: + test-cluster-chainsaw: runs-on: ubuntu-22.04 steps: - name: Checkout @@ -15,7 +15,7 @@ jobs: fetch-depth: 0 - name: Set ParadeDB Version to Latest - working-directory: charts/cluster/ + working-directory: charts/paradedb-cluster/ env: GH_TOKEN: ${{ secrets.GHA_CREATE_RELEASE_PAT }} run: | diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 346a030ee..f56978809 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -16,7 +16,7 @@ repos: - id: check-docstring-first - id: check-symlinks - id: check-yaml - exclude: "charts/cluster/" # Exclude all files in the charts/cluster/ directory, which aren't standard YAML + exclude: "charts/paradedb-cluster/" # Exclude all files in the charts/paradedb-cluster/ directory, which aren't standard YAML - id: check-json - id: check-xml - id: check-ast @@ -41,4 +41,4 @@ repos: rev: v3.0.3 hooks: - id: prettier - exclude: "charts/cluster/" # Exclude all files in the charts/cluster/ directory, which aren't standard YAML + exclude: "charts/paradedb-cluster/" # Exclude all files in the charts/paradedb-cluster/ directory, which aren't standard YAML diff --git a/Makefile b/Makefile index 2fce7ceda..a96eb789d 100644 --- a/Makefile +++ b/Makefile @@ -15,5 +15,5 @@ docs: ## Generate charts' docs using helm-docs schema: cluster-schema ## Generate charts' schema using helm-schema-gen cluster-schema: - @helm schema-gen charts/cluster/values.yaml | cat > charts/cluster/values.schema.json || \ + @helm schema-gen charts/paradedb-cluster/values.yaml | cat > charts/paradedb-cluster/values.schema.json || \ (echo "Please, run: helm plugin install https://github.com/karuppiah7890/helm-schema-gen.git" && exit 1) diff --git a/README.md b/README.md index 1e366d292..5d8cd6a46 100644 --- a/README.md +++ b/README.md @@ -48,6 +48,20 @@ cnpg/cloudnative-pg ### Setting up a ParadeDB CNPG Cluster +Create a `values.yaml` and configure it to your requirements. Here is a basic example: + +```yaml +type: paradedb +mode: standalone + +cluster: + instances: 2 + storage: + size: 256Mi +``` + +You can refer to the other examples in the [`charts/cluster/examples`](https://github.com/paradedb/charts/tree/main/charts/cluster/examples) directory. + ```console helm repo add paradedb https://paradedb.github.io/charts helm upgrade --install paradedb \ @@ -57,7 +71,7 @@ helm upgrade --install paradedb \ paradedb/cluster ``` -Refer to the [CloudNativePG Cluster Chart documentation](charts/cluster/README.md) for advanced configuration options. +Refer to the [CloudNativePG Cluster Chart documentation](charts/paradedb-cluster/README.md) for advanced configuration options. ## License diff --git a/charts/cluster/.DS_Store b/charts/paradedb-cluster/.DS_Store similarity index 100% rename from charts/cluster/.DS_Store rename to charts/paradedb-cluster/.DS_Store diff --git a/charts/cluster/.gitignore b/charts/paradedb-cluster/.gitignore similarity index 100% rename from charts/cluster/.gitignore rename to charts/paradedb-cluster/.gitignore diff --git a/charts/cluster/.helmignore b/charts/paradedb-cluster/.helmignore similarity index 100% rename from charts/cluster/.helmignore rename to charts/paradedb-cluster/.helmignore diff --git a/charts/cluster/Chart.yaml b/charts/paradedb-cluster/Chart.yaml similarity index 95% rename from charts/cluster/Chart.yaml rename to charts/paradedb-cluster/Chart.yaml index 44b3024ee..f3edfebd6 100644 --- a/charts/cluster/Chart.yaml +++ b/charts/paradedb-cluster/Chart.yaml @@ -14,7 +14,7 @@ # limitations under the License. # apiVersion: v2 -name: cluster +name: paradedb-cluster description: Deploys and manages a ParadeDB CloudNativePG cluster and its associated resources. icon: https://raw.githubusercontent.com/paradedb/paradedb/main/docs/logo/light.svg type: application @@ -35,3 +35,4 @@ home: https://paradedb.com maintainers: - name: ParadeDB email: support@paradedb.com + url: https://paradedb.com diff --git a/charts/cluster/README.md b/charts/paradedb-cluster/README.md similarity index 96% rename from charts/cluster/README.md rename to charts/paradedb-cluster/README.md index 880efbe9c..f038ffaaa 100644 --- a/charts/cluster/README.md +++ b/charts/paradedb-cluster/README.md @@ -34,8 +34,6 @@ cluster: You can refer to the other examples in the [`charts/cluster/examples`](https://github.com/paradedb/charts/tree/main/charts/cluster/examples) directory. -```yaml - ```console helm repo add paradedb https://paradedb.github.io/charts helm upgrade --install paradedb \ @@ -57,7 +55,6 @@ To use the ParadeDB Helm Chart, specify `paradedb` via the `type` parameter. ### Modes of operation The chart has three modes of operation. These are configured via the `mode` parameter: - * `standalone` - Creates new or updates an existing CNPG cluster. This is the default mode. * `replica` - Creates a replica cluster from an existing CNPG cluster. **_Note_ that this mode is not yet supported.** * `recovery` - Recovers a CNPG cluster from a backup, object store or via pg_basebackup. @@ -74,10 +71,8 @@ providers are supported: * Google Cloud Storage Additionally you can specify the following parameters: - * `backups.retentionPolicy` - The retention policy for backups. Defaults to `30d`. * `backups.scheduledBackups` - An array of scheduled backups containing a name and a crontab schedule. Example: - ```yaml backups: scheduledBackups: @@ -99,7 +94,7 @@ Examples -------- There are several configuration examples in the [examples](examples) directory. Refer to them for a basic setup and -refer to the [CloudNativePG Documentation](https://cloudnative-pg.io/documentation/current/) for more advanced configurations. +refer to the [CloudNativePG Documentation](https://cloudnative-pg.io/documentation/current/) for more advanced configurations. ## Values @@ -162,8 +157,8 @@ refer to the [CloudNativePG Documentation](https://cloudnative-pg.io/documentati | cluster.postgresUID | int | `-1` | The UID of the postgres user inside the image, defaults to 26 | | cluster.postgresql.parameters | object | `{}` | PostgreSQL configuration options (postgresql.conf) | | cluster.postgresql.pg_hba | list | `[]` | PostgreSQL Host Based Authentication rules (lines to be appended to the pg_hba.conf file) | -| cluster.postgresql.pg_ident | list | `[]` | PostgreSQL User Name Maps rules (lines to be appended to the pg_ident.conf file) | -| cluster.postgresql.shared_preload_libraries | list | `[]` | Lists of shared preload libraries to add to the default ones | +| cluster.postgresql.pg_ident | list | `[]` | | +| cluster.postgresql.shared_preload_libraries | list | `[]` | | | cluster.primaryUpdateMethod | string | `"switchover"` | Method to follow to upgrade the primary server during a rolling update procedure, after all replicas have been successfully updated. It can be switchover (default) or restart. | | cluster.primaryUpdateStrategy | string | `"unsupervised"` | Strategy to follow to upgrade the primary server during a rolling update procedure, after all replicas have been successfully updated: it can be automated (unsupervised - default) or manual (supervised) | | cluster.priorityClassName | string | `""` | | @@ -234,12 +229,15 @@ refer to the [CloudNativePG Documentation](https://cloudnative-pg.io/documentati | recovery.s3.secretKey | string | `""` | | | recovery.secret.create | bool | `true` | Whether to create a secret for the backup credentials | | recovery.secret.name | string | `""` | Name of the backup credentials secret | -| type | string | `"paradedb"` | Type of the CNPG database. Available types: `paradedb` | -| version.paradedb | string | `"0.9.4"` | If using ParadeDB, specify the version | +| type | string | `"paradedb"` | Type of the CNPG database. Available types: * `paradedb` | +| version.paradedb | string | `"0.0.0"` | The ParadeDB version, set in the publish CI workflow from the latest paradedb/paradedb GitHub tag | +| version.postgis | string | `"3.4"` | If using PostGIS, specify the version | | version.postgresql | string | `"16"` | PostgreSQL major version to use | +| version.timescaledb | string | `"2.15"` | If using TimescaleDB, specify the version | ## Maintainers | Name | Email | Url | | ---- | ------ | --- | -| ParadeDB | | [paradedb.com](https://paradedb.com) | +| ParadeDB | | | + diff --git a/charts/paradedb-cluster/README.md.gotmpl b/charts/paradedb-cluster/README.md.gotmpl new file mode 100644 index 000000000..e4c1f8df9 --- /dev/null +++ b/charts/paradedb-cluster/README.md.gotmpl @@ -0,0 +1,115 @@ +# CloudNativePG Cluster + + +{{ template "chart.deprecationWarning" . }} + + +This README documents the Helm chart for deploying and managing [ParadeDB](https://github.com/paradedb/paradedb) on Kubernetes via [CloudNativePG](https://cloudnative-pg.io/), including advanced settings. + +Kubernetes, and specifically the CloudNativePG operator, is the recommended approach for deploying ParadeDB in production. ParadeDB also provides a [Docker image](https://hub.docker.com/r/paradedb/paradedb) and [prebuilt binaries](https://github.com/paradedb/paradedb/releases) for Debian, Ubuntu and Red Hat Enterprise Linux. + +## Getting Started + +### Installing the Operator + +Skip this step if the CNPG operator is already installed in your cluster. + +```console +helm repo add cnpg https://cloudnative-pg.github.io/charts +helm upgrade --install cnpg \ +--namespace cnpg-system \ +--create-namespace \ +cnpg/cloudnative-pg +``` + +### Setting up a ParadeDB CNPG Cluster + +Create a `values.yaml` and configure it to your requirements. Here is a basic example: + +```yaml +type: paradedb +mode: standalone + +cluster: + instances: 2 + storage: + size: 256Mi +``` + +You can refer to the other examples in the [`charts/cluster/examples`](https://github.com/paradedb/charts/tree/main/charts/cluster/examples) directory. + +```console +helm repo add paradedb https://paradedb.github.io/charts +helm upgrade --install paradedb \ +--namespace paradedb-database \ +--create-namespace \ +--values values.yaml \ +paradedb/cluster +``` + +A more detailed guide can be found in the [Getting Started docs](<./docs/Getting Started.md>). + +Cluster Configuration +--------------------- + +### Database types + +To use the ParadeDB Helm Chart, specify `paradedb` via the `type` parameter. + +### Modes of operation + +The chart has three modes of operation. These are configured via the `mode` parameter: +* `standalone` - Creates new or updates an existing CNPG cluster. This is the default mode. +* `replica` - Creates a replica cluster from an existing CNPG cluster. **_Note_ that this mode is not yet supported.** +* `recovery` - Recovers a CNPG cluster from a backup, object store or via pg_basebackup. + +### Backup configuration + +CNPG implements disaster recovery via [Barman](https://pgbarman.org/). The following section configures the barman object +store where backups will be stored. Barman performs backups of the cluster filesystem base backup and WALs. Both are +stored in the specified location. The backup provider is configured via the `backups.provider` parameter. The following +providers are supported: + +* S3 or S3-compatible stores, like MinIO +* Microsoft Azure Blob Storage +* Google Cloud Storage + +Additionally you can specify the following parameters: +* `backups.retentionPolicy` - The retention policy for backups. Defaults to `30d`. +* `backups.scheduledBackups` - An array of scheduled backups containing a name and a crontab schedule. Example: +```yaml +backups: + scheduledBackups: + - name: daily-backup + schedule: "0 0 0 * * *" # Daily at midnight + backupOwnerReference: self +``` + +Each backup adapter takes it's own set of parameters, listed in the [Configuration options](#Configuration-options) section +below. Refer to the table for the full list of parameters and place the configuration under the appropriate key: `backup.s3`, +`backup.azure`, or `backup.google`. + + +Recovery +-------- + +There is a separate document outlining the recovery procedure here: **[Recovery](docs/recovery.md)** + + +Examples +-------- + +There are several configuration examples in the [examples](examples) directory. Refer to them for a basic setup and +refer to the [CloudNativePG Documentation](https://cloudnative-pg.io/documentation/current/) for more advanced configurations. + + +{{ template "chart.requirementsSection" . }} + + +{{ template "chart.valuesSection" . }} + + +{{ template "chart.maintainersSection" . }} + + +{{ template "helm-docs.versionFooter" . }} \ No newline at end of file diff --git a/charts/cluster/docs/Getting Started.md b/charts/paradedb-cluster/docs/Getting Started.md similarity index 100% rename from charts/cluster/docs/Getting Started.md rename to charts/paradedb-cluster/docs/Getting Started.md diff --git a/charts/cluster/docs/Recovery.md b/charts/paradedb-cluster/docs/Recovery.md similarity index 100% rename from charts/cluster/docs/Recovery.md rename to charts/paradedb-cluster/docs/Recovery.md diff --git a/charts/cluster/docs/runbooks/CNPGClusterHACritical.md b/charts/paradedb-cluster/docs/runbooks/CNPGClusterHACritical.md similarity index 100% rename from charts/cluster/docs/runbooks/CNPGClusterHACritical.md rename to charts/paradedb-cluster/docs/runbooks/CNPGClusterHACritical.md diff --git a/charts/cluster/docs/runbooks/CNPGClusterHAWarning.md b/charts/paradedb-cluster/docs/runbooks/CNPGClusterHAWarning.md similarity index 100% rename from charts/cluster/docs/runbooks/CNPGClusterHAWarning.md rename to charts/paradedb-cluster/docs/runbooks/CNPGClusterHAWarning.md diff --git a/charts/cluster/docs/runbooks/CNPGClusterHighConnectionsCritical.md b/charts/paradedb-cluster/docs/runbooks/CNPGClusterHighConnectionsCritical.md similarity index 100% rename from charts/cluster/docs/runbooks/CNPGClusterHighConnectionsCritical.md rename to charts/paradedb-cluster/docs/runbooks/CNPGClusterHighConnectionsCritical.md diff --git a/charts/cluster/docs/runbooks/CNPGClusterHighConnectionsWarning.md b/charts/paradedb-cluster/docs/runbooks/CNPGClusterHighConnectionsWarning.md similarity index 100% rename from charts/cluster/docs/runbooks/CNPGClusterHighConnectionsWarning.md rename to charts/paradedb-cluster/docs/runbooks/CNPGClusterHighConnectionsWarning.md diff --git a/charts/cluster/docs/runbooks/CNPGClusterHighReplicationLag.md b/charts/paradedb-cluster/docs/runbooks/CNPGClusterHighReplicationLag.md similarity index 100% rename from charts/cluster/docs/runbooks/CNPGClusterHighReplicationLag.md rename to charts/paradedb-cluster/docs/runbooks/CNPGClusterHighReplicationLag.md diff --git a/charts/cluster/docs/runbooks/CNPGClusterInstancesOnSameNode.md b/charts/paradedb-cluster/docs/runbooks/CNPGClusterInstancesOnSameNode.md similarity index 100% rename from charts/cluster/docs/runbooks/CNPGClusterInstancesOnSameNode.md rename to charts/paradedb-cluster/docs/runbooks/CNPGClusterInstancesOnSameNode.md diff --git a/charts/cluster/docs/runbooks/CNPGClusterLowDiskSpaceCritical.md b/charts/paradedb-cluster/docs/runbooks/CNPGClusterLowDiskSpaceCritical.md similarity index 100% rename from charts/cluster/docs/runbooks/CNPGClusterLowDiskSpaceCritical.md rename to charts/paradedb-cluster/docs/runbooks/CNPGClusterLowDiskSpaceCritical.md diff --git a/charts/cluster/docs/runbooks/CNPGClusterLowDiskSpaceWarning.md b/charts/paradedb-cluster/docs/runbooks/CNPGClusterLowDiskSpaceWarning.md similarity index 100% rename from charts/cluster/docs/runbooks/CNPGClusterLowDiskSpaceWarning.md rename to charts/paradedb-cluster/docs/runbooks/CNPGClusterLowDiskSpaceWarning.md diff --git a/charts/cluster/docs/runbooks/CNPGClusterOffline.md b/charts/paradedb-cluster/docs/runbooks/CNPGClusterOffline.md similarity index 100% rename from charts/cluster/docs/runbooks/CNPGClusterOffline.md rename to charts/paradedb-cluster/docs/runbooks/CNPGClusterOffline.md diff --git a/charts/cluster/docs/runbooks/CNPGClusterZoneSpreadWarning.md b/charts/paradedb-cluster/docs/runbooks/CNPGClusterZoneSpreadWarning.md similarity index 100% rename from charts/cluster/docs/runbooks/CNPGClusterZoneSpreadWarning.md rename to charts/paradedb-cluster/docs/runbooks/CNPGClusterZoneSpreadWarning.md diff --git a/charts/cluster/examples/.DS_Store b/charts/paradedb-cluster/examples/.DS_Store similarity index 100% rename from charts/cluster/examples/.DS_Store rename to charts/paradedb-cluster/examples/.DS_Store diff --git a/charts/cluster/examples/basic.yaml b/charts/paradedb-cluster/examples/basic.yaml similarity index 100% rename from charts/cluster/examples/basic.yaml rename to charts/paradedb-cluster/examples/basic.yaml diff --git a/charts/cluster/examples/custom-queries.yaml b/charts/paradedb-cluster/examples/custom-queries.yaml similarity index 100% rename from charts/cluster/examples/custom-queries.yaml rename to charts/paradedb-cluster/examples/custom-queries.yaml diff --git a/charts/cluster/examples/image-catalog-ref.yaml b/charts/paradedb-cluster/examples/image-catalog-ref.yaml similarity index 100% rename from charts/cluster/examples/image-catalog-ref.yaml rename to charts/paradedb-cluster/examples/image-catalog-ref.yaml diff --git a/charts/cluster/examples/image-catalog.yaml b/charts/paradedb-cluster/examples/image-catalog.yaml similarity index 100% rename from charts/cluster/examples/image-catalog.yaml rename to charts/paradedb-cluster/examples/image-catalog.yaml diff --git a/charts/cluster/examples/paradedb.yaml b/charts/paradedb-cluster/examples/paradedb.yaml similarity index 100% rename from charts/cluster/examples/paradedb.yaml rename to charts/paradedb-cluster/examples/paradedb.yaml diff --git a/charts/cluster/examples/pgbouncer.yaml b/charts/paradedb-cluster/examples/pgbouncer.yaml similarity index 100% rename from charts/cluster/examples/pgbouncer.yaml rename to charts/paradedb-cluster/examples/pgbouncer.yaml diff --git a/charts/cluster/examples/postgis.yaml b/charts/paradedb-cluster/examples/postgis.yaml similarity index 100% rename from charts/cluster/examples/postgis.yaml rename to charts/paradedb-cluster/examples/postgis.yaml diff --git a/charts/cluster/examples/recovery-backup.yaml b/charts/paradedb-cluster/examples/recovery-backup.yaml similarity index 100% rename from charts/cluster/examples/recovery-backup.yaml rename to charts/paradedb-cluster/examples/recovery-backup.yaml diff --git a/charts/cluster/examples/recovery-object_store.yaml b/charts/paradedb-cluster/examples/recovery-object_store.yaml similarity index 100% rename from charts/cluster/examples/recovery-object_store.yaml rename to charts/paradedb-cluster/examples/recovery-object_store.yaml diff --git a/charts/cluster/examples/recovery-pg_basebackup.yaml b/charts/paradedb-cluster/examples/recovery-pg_basebackup.yaml similarity index 100% rename from charts/cluster/examples/recovery-pg_basebackup.yaml rename to charts/paradedb-cluster/examples/recovery-pg_basebackup.yaml diff --git a/charts/cluster/examples/standalone-s3.yaml b/charts/paradedb-cluster/examples/standalone-s3.yaml similarity index 100% rename from charts/cluster/examples/standalone-s3.yaml rename to charts/paradedb-cluster/examples/standalone-s3.yaml diff --git a/charts/cluster/examples/timescaledb.yaml b/charts/paradedb-cluster/examples/timescaledb.yaml similarity index 100% rename from charts/cluster/examples/timescaledb.yaml rename to charts/paradedb-cluster/examples/timescaledb.yaml diff --git a/charts/cluster/prometheus_rules/cluster-ha-critical.yaml b/charts/paradedb-cluster/prometheus_rules/cluster-ha-critical.yaml similarity index 79% rename from charts/cluster/prometheus_rules/cluster-ha-critical.yaml rename to charts/paradedb-cluster/prometheus_rules/cluster-ha-critical.yaml index 246a5af6b..10da349c0 100644 --- a/charts/cluster/prometheus_rules/cluster-ha-critical.yaml +++ b/charts/paradedb-cluster/prometheus_rules/cluster-ha-critical.yaml @@ -2,9 +2,9 @@ {{- if not (has $alert .excludeRules) -}} alert: {{ $alert }} annotations: - summary: CNPG Cluster has no standby replicas! + summary: ParadeDB Cluster has no standby replicas! description: |- - CloudNativePG Cluster "{{ .labels.job }}" has no ready standby replicas. Your cluster at a severe + ParadeDB Cluster "{{ .labels.job }}" has no ready standby replicas. Your cluster at a severe risk of data loss and downtime if the primary instance fails. The primary instance is still online and able to serve queries, although connections to the `-ro` endpoint @@ -15,7 +15,7 @@ annotations: This alarm will be always trigger if your cluster is configured to run with only 1 instance. In this case you may want to silence it. - runbook_url: https://github.com/cloudnative-pg/charts/blob/main/charts/cluster/docs/runbooks/CNPGClusterHACritical.md + runbook_url: https://github.com/paradedb/charts/blob/main/charts/paradedb-cluster/docs/runbooks/CNPGClusterHACritical.md expr: | max by (job) (cnpg_pg_replication_streaming_replicas{namespace="{{ .namespace }}"} - cnpg_pg_replication_is_wal_receiver_up{namespace="{{ .namespace }}"}) < 1 for: 5m diff --git a/charts/cluster/prometheus_rules/cluster-ha-warning.yaml b/charts/paradedb-cluster/prometheus_rules/cluster-ha-warning.yaml similarity index 77% rename from charts/cluster/prometheus_rules/cluster-ha-warning.yaml rename to charts/paradedb-cluster/prometheus_rules/cluster-ha-warning.yaml index 736ddf393..79c617441 100644 --- a/charts/cluster/prometheus_rules/cluster-ha-warning.yaml +++ b/charts/paradedb-cluster/prometheus_rules/cluster-ha-warning.yaml @@ -2,9 +2,9 @@ {{- if not (has $alert .excludeRules) -}} alert: {{ $alert }} annotations: - summary: CNPG Cluster less than 2 standby replicas. + summary: ParadeDB Cluster less than 2 standby replicas. description: |- - CloudNativePG Cluster "{{ .labels.job }}" has only {{ .value }} standby replicas, putting + ParadeDB Cluster "{{ .labels.job }}" has only {{ .value }} standby replicas, putting your cluster at risk if another instance fails. The cluster is still able to operate normally, although the `-ro` and `-r` endpoints operate at reduced capacity. @@ -13,7 +13,7 @@ annotations: This alarm will be constantly triggered if your cluster is configured to run with less than 3 instances. In this case you may want to silence it. - runbook_url: https://github.com/cloudnative-pg/charts/blob/main/charts/cluster/docs/runbooks/CNPGClusterHAWarning.md + runbook_url: https://github.com/paradedb/charts/blob/main/charts/paradedb-cluster/docs/runbooks/CNPGClusterHAWarning.md expr: | max by (job) (cnpg_pg_replication_streaming_replicas{namespace="{{ .namespace }}"} - cnpg_pg_replication_is_wal_receiver_up{namespace="{{ .namespace }}"}) < 2 for: 5m diff --git a/charts/cluster/prometheus_rules/cluster-high_connection-critical.yaml b/charts/paradedb-cluster/prometheus_rules/cluster-high_connection-critical.yaml similarity index 63% rename from charts/cluster/prometheus_rules/cluster-high_connection-critical.yaml rename to charts/paradedb-cluster/prometheus_rules/cluster-high_connection-critical.yaml index df13ce3b3..b2767534a 100644 --- a/charts/cluster/prometheus_rules/cluster-high_connection-critical.yaml +++ b/charts/paradedb-cluster/prometheus_rules/cluster-high_connection-critical.yaml @@ -2,11 +2,11 @@ {{- if not (has $alert .excludeRules) -}} alert: {{ $alert }} annotations: - summary: CNPG Instance maximum number of connections critical! + summary: ParadeDB Instance maximum number of connections critical! description: |- - CloudNativePG Cluster "{{ .namespace }}/{{ .cluster }}" instance {{ .labels.pod }} is using {{ .value }}% of + ParadeDB Cluster "{{ .namespace }}/{{ .cluster }}" instance {{ .labels.pod }} is using {{ .value }}% of the maximum number of connections. - runbook_url: https://github.com/cloudnative-pg/charts/blob/main/charts/cluster/docs/runbooks/CNPGClusterHighConnectionsCritical.md + runbook_url: https://github.com/paradedb/charts/blob/main/charts/paradedb-cluster/docs/runbooks/CNPGClusterHighConnectionsCritical.md expr: | sum by (pod) (cnpg_backends_total{namespace="{{ .namespace }}", pod=~"{{ .podSelector }}"}) / max by (pod) (cnpg_pg_settings_setting{name="max_connections", namespace="{{ .namespace }}", pod=~"{{ .podSelector }}"}) * 100 > 95 for: 5m diff --git a/charts/cluster/prometheus_rules/cluster-high_connection-warning.yaml b/charts/paradedb-cluster/prometheus_rules/cluster-high_connection-warning.yaml similarity index 62% rename from charts/cluster/prometheus_rules/cluster-high_connection-warning.yaml rename to charts/paradedb-cluster/prometheus_rules/cluster-high_connection-warning.yaml index 73cc78392..6ef24c51c 100644 --- a/charts/cluster/prometheus_rules/cluster-high_connection-warning.yaml +++ b/charts/paradedb-cluster/prometheus_rules/cluster-high_connection-warning.yaml @@ -2,11 +2,11 @@ {{- if not (has $alert .excludeRules) -}} alert: {{ $alert }} annotations: - summary: CNPG Instance is approaching the maximum number of connections. + summary: ParadeDB Instance is approaching the maximum number of connections. description: |- - CloudNativePG Cluster "{{ .namespace }}/{{ .cluster }}" instance {{ .labels.pod }} is using {{ .value }}% of + ParadeDB Cluster "{{ .namespace }}/{{ .cluster }}" instance {{ .labels.pod }} is using {{ .value }}% of the maximum number of connections. - runbook_url: https://github.com/cloudnative-pg/charts/blob/main/charts/cluster/docs/runbooks/CNPGClusterHighConnectionsWarning.md + runbook_url: https://github.com/paradedb/charts/blob/main/charts/paradedb-cluster/docs/runbooks/CNPGClusterHighConnectionsWarning.md expr: | sum by (pod) (cnpg_backends_total{namespace="{{ .namespace }}", pod=~"{{ .podSelector }}"}) / max by (pod) (cnpg_pg_settings_setting{name="max_connections", namespace="{{ .namespace }}", pod=~"{{ .podSelector }}"}) * 100 > 80 for: 5m diff --git a/charts/cluster/prometheus_rules/cluster-high_replication_lag.yaml b/charts/paradedb-cluster/prometheus_rules/cluster-high_replication_lag.yaml similarity index 63% rename from charts/cluster/prometheus_rules/cluster-high_replication_lag.yaml rename to charts/paradedb-cluster/prometheus_rules/cluster-high_replication_lag.yaml index 660db254f..f62a22e59 100644 --- a/charts/cluster/prometheus_rules/cluster-high_replication_lag.yaml +++ b/charts/paradedb-cluster/prometheus_rules/cluster-high_replication_lag.yaml @@ -2,13 +2,13 @@ {{- if not (has $alert .excludeRules) -}} alert: {{ $alert }} annotations: - summary: CNPG Cluster high replication lag + summary: ParadeDB Cluster high replication lag description: |- - CloudNativePG Cluster "{{ .namespace }}/{{ .cluster }}" is experiencing a high replication lag of + ParadeDB Cluster "{{ .namespace }}/{{ .cluster }}" is experiencing a high replication lag of {{ .value }}ms. High replication lag indicates network issues, busy instances, slow queries or suboptimal configuration. - runbook_url: https://github.com/cloudnative-pg/charts/blob/main/charts/cluster/docs/runbooks/CNPGClusterHighReplicationLag.md + runbook_url: https://github.com/paradedb/charts/blob/main/charts/paradedb-cluster/docs/runbooks/CNPGClusterHighReplicationLag.md expr: | max(cnpg_pg_replication_lag{namespace="{{ .namespace }}",pod=~"{{ .podSelector }}"}) * 1000 > 1000 for: 5m diff --git a/charts/cluster/prometheus_rules/cluster-instances_on_same_node.yaml b/charts/paradedb-cluster/prometheus_rules/cluster-instances_on_same_node.yaml similarity index 65% rename from charts/cluster/prometheus_rules/cluster-instances_on_same_node.yaml rename to charts/paradedb-cluster/prometheus_rules/cluster-instances_on_same_node.yaml index aafcfab1e..bc7b14eb3 100644 --- a/charts/cluster/prometheus_rules/cluster-instances_on_same_node.yaml +++ b/charts/paradedb-cluster/prometheus_rules/cluster-instances_on_same_node.yaml @@ -2,13 +2,13 @@ {{- if not (has $alert .excludeRules) -}} alert: {{ $alert }} annotations: - summary: CNPG Cluster instances are located on the same node. + summary: ParadeDB Cluster instances are located on the same node. description: |- - CloudNativePG Cluster "{{ .namespace }}/{{ .cluster }}" has {{ .value }} + ParadeDB Cluster "{{ .namespace }}/{{ .cluster }}" has {{ .value }} instances on the same node {{ .labels.node }}. A failure or scheduled downtime of a single node will lead to a potential service disruption and/or data loss. - runbook_url: https://github.com/cloudnative-pg/charts/blob/main/charts/cluster/docs/runbooks/CNPGClusterInstancesOnSameNode.md + runbook_url: https://github.com/paradedb/charts/blob/main/charts/paradedb-cluster/docs/runbooks/CNPGClusterInstancesOnSameNode.md expr: | count by (node) (kube_pod_info{namespace="{{ .namespace }}", pod=~"{{ .podSelector }}"}) > 1 for: 5m diff --git a/charts/cluster/prometheus_rules/cluster-low_disk_space-critical.yaml b/charts/paradedb-cluster/prometheus_rules/cluster-low_disk_space-critical.yaml similarity index 81% rename from charts/cluster/prometheus_rules/cluster-low_disk_space-critical.yaml rename to charts/paradedb-cluster/prometheus_rules/cluster-low_disk_space-critical.yaml index c211bc61a..7711f6e84 100644 --- a/charts/cluster/prometheus_rules/cluster-low_disk_space-critical.yaml +++ b/charts/paradedb-cluster/prometheus_rules/cluster-low_disk_space-critical.yaml @@ -2,10 +2,10 @@ {{- if not (has $alert .excludeRules) -}} alert: {{ $alert }} annotations: - summary: CNPG Instance is running out of disk space! + summary: ParadeDB Instance is running out of disk space! description: |- - CloudNativePG Cluster "{{ .namespace }}/{{ .cluster }}" is running extremely low on disk space. Check attached PVCs! - runbook_url: https://github.com/cloudnative-pg/charts/blob/main/charts/cluster/docs/runbooks/CNPGClusterLowDiskSpaceCritical.md + ParadeDB Cluster "{{ .namespace }}/{{ .cluster }}" is running extremely low on disk space. Check attached PVCs! + runbook_url: https://github.com/paradedb/charts/blob/main/charts/paradedb-cluster/docs/runbooks/CNPGClusterLowDiskSpaceCritical.md expr: | max(max by(persistentvolumeclaim) (1 - kubelet_volume_stats_available_bytes{namespace="{{ .namespace }}", persistentvolumeclaim=~"{{ .podSelector }}"} / kubelet_volume_stats_capacity_bytes{namespace="{{ .namespace }}", persistentvolumeclaim=~"{{ .podSelector }}"})) > 0.9 OR max(max by(persistentvolumeclaim) (1 - kubelet_volume_stats_available_bytes{namespace="{{ .namespace }}", persistentvolumeclaim=~"{{ .podSelector }}-wal"} / kubelet_volume_stats_capacity_bytes{namespace="{{ .namespace }}", persistentvolumeclaim=~"{{ .podSelector }}-wal"})) > 0.9 OR diff --git a/charts/cluster/prometheus_rules/cluster-low_disk_space-warning.yaml b/charts/paradedb-cluster/prometheus_rules/cluster-low_disk_space-warning.yaml similarity index 81% rename from charts/cluster/prometheus_rules/cluster-low_disk_space-warning.yaml rename to charts/paradedb-cluster/prometheus_rules/cluster-low_disk_space-warning.yaml index 5ed3653aa..d62903f00 100644 --- a/charts/cluster/prometheus_rules/cluster-low_disk_space-warning.yaml +++ b/charts/paradedb-cluster/prometheus_rules/cluster-low_disk_space-warning.yaml @@ -2,10 +2,10 @@ {{- if not (has $alert .excludeRules) -}} alert: {{ $alert }} annotations: - summary: CNPG Instance is running out of disk space. + summary: ParadeDB Instance is running out of disk space. description: |- - CloudNativePG Cluster "{{ .namespace }}/{{ .cluster }}" is running low on disk space. Check attached PVCs. - runbook_url: https://github.com/cloudnative-pg/charts/blob/main/charts/cluster/docs/runbooks/CNPGClusterLowDiskSpaceWarning.md + ParadeDB Cluster "{{ .namespace }}/{{ .cluster }}" is running low on disk space. Check attached PVCs. + runbook_url: https://github.com/paradedb/charts/blob/main/charts/paradedb-cluster/docs/runbooks/CNPGClusterLowDiskSpaceWarning.md expr: | max(max by(persistentvolumeclaim) (1 - kubelet_volume_stats_available_bytes{namespace="{{ .namespace }}", persistentvolumeclaim=~"{{ .podSelector }}"} / kubelet_volume_stats_capacity_bytes{namespace="{{ .namespace }}", persistentvolumeclaim=~"{{ .podSelector }}"})) > 0.7 OR max(max by(persistentvolumeclaim) (1 - kubelet_volume_stats_available_bytes{namespace="{{ .namespace }}", persistentvolumeclaim=~"{{ .podSelector }}-wal"} / kubelet_volume_stats_capacity_bytes{namespace="{{ .namespace }}", persistentvolumeclaim=~"{{ .podSelector }}-wal"})) > 0.7 OR diff --git a/charts/cluster/prometheus_rules/cluster-offline.yaml b/charts/paradedb-cluster/prometheus_rules/cluster-offline.yaml similarity index 68% rename from charts/cluster/prometheus_rules/cluster-offline.yaml rename to charts/paradedb-cluster/prometheus_rules/cluster-offline.yaml index aa4dc12ee..129c3502f 100644 --- a/charts/cluster/prometheus_rules/cluster-offline.yaml +++ b/charts/paradedb-cluster/prometheus_rules/cluster-offline.yaml @@ -2,13 +2,13 @@ {{- if not (has $alert .excludeRules) -}} alert: {{ $alert }} annotations: - summary: CNPG Cluster has no running instances! + summary: ParadeDB Cluster has no running instances! description: |- - CloudNativePG Cluster "{{ .labels.job }}" has no ready instances. + ParadeDB Cluster "{{ .labels.job }}" has no ready instances. Having an offline cluster means your applications will not be able to access the database, leading to potential service disruption and/or data loss. - runbook_url: https://github.com/cloudnative-pg/charts/blob/main/charts/cluster/docs/runbooks/CNPGClusterOffline.md + runbook_url: https://github.com/paradedb/charts/blob/main/charts/paradedb-cluster/docs/runbooks/CNPGClusterOffline.md expr: | (count(cnpg_collector_up{namespace="{{ .namespace }}",pod=~"{{ .podSelector }}"}) OR on() vector(0)) == 0 for: 5m diff --git a/charts/cluster/prometheus_rules/cluster-zone_spread-warning.yaml b/charts/paradedb-cluster/prometheus_rules/cluster-zone_spread-warning.yaml similarity index 68% rename from charts/cluster/prometheus_rules/cluster-zone_spread-warning.yaml rename to charts/paradedb-cluster/prometheus_rules/cluster-zone_spread-warning.yaml index 41fa4002a..608fbbdba 100644 --- a/charts/cluster/prometheus_rules/cluster-zone_spread-warning.yaml +++ b/charts/paradedb-cluster/prometheus_rules/cluster-zone_spread-warning.yaml @@ -2,12 +2,12 @@ {{- if not (has $alert .excludeRules) -}} alert: {{ $alert }} annotations: - summary: CNPG Cluster instances in the same zone. + summary: ParadeDB Cluster instances in the same zone. description: |- - CloudNativePG Cluster "{{ .namespace }}/{{ .cluster }}" has instances in the same availability zone. + ParadeDB Cluster "{{ .namespace }}/{{ .cluster }}" has instances in the same availability zone. A disaster in one availability zone will lead to a potential service disruption and/or data loss. - runbook_url: https://github.com/cloudnative-pg/charts/blob/main/charts/cluster/docs/runbooks/CNPGClusterZoneSpreadWarning.md + runbook_url: https://github.com/paradedb/charts/blob/main/charts/paradedb-cluster/docs/runbooks/CNPGClusterZoneSpreadWarning.md expr: | {{ .Values.cluster.instances }} > count(count by (label_topology_kubernetes_io_zone) (kube_pod_info{namespace="{{ .namespace }}", pod=~"{{ .podSelector }}"} * on(node,instance) group_left(label_topology_kubernetes_io_zone) kube_node_labels)) < 3 for: 5m diff --git a/charts/cluster/templates/NOTES.txt b/charts/paradedb-cluster/templates/NOTES.txt similarity index 100% rename from charts/cluster/templates/NOTES.txt rename to charts/paradedb-cluster/templates/NOTES.txt diff --git a/charts/cluster/templates/_backup.tpl b/charts/paradedb-cluster/templates/_backup.tpl similarity index 100% rename from charts/cluster/templates/_backup.tpl rename to charts/paradedb-cluster/templates/_backup.tpl diff --git a/charts/cluster/templates/_barman_object_store.tpl b/charts/paradedb-cluster/templates/_barman_object_store.tpl similarity index 100% rename from charts/cluster/templates/_barman_object_store.tpl rename to charts/paradedb-cluster/templates/_barman_object_store.tpl diff --git a/charts/cluster/templates/_bootstrap.tpl b/charts/paradedb-cluster/templates/_bootstrap.tpl similarity index 100% rename from charts/cluster/templates/_bootstrap.tpl rename to charts/paradedb-cluster/templates/_bootstrap.tpl diff --git a/charts/cluster/templates/_colorize.tpl b/charts/paradedb-cluster/templates/_colorize.tpl similarity index 100% rename from charts/cluster/templates/_colorize.tpl rename to charts/paradedb-cluster/templates/_colorize.tpl diff --git a/charts/cluster/templates/_helpers.tpl b/charts/paradedb-cluster/templates/_helpers.tpl similarity index 100% rename from charts/cluster/templates/_helpers.tpl rename to charts/paradedb-cluster/templates/_helpers.tpl diff --git a/charts/cluster/templates/backup-azure-creds.yaml b/charts/paradedb-cluster/templates/backup-azure-creds.yaml similarity index 100% rename from charts/cluster/templates/backup-azure-creds.yaml rename to charts/paradedb-cluster/templates/backup-azure-creds.yaml diff --git a/charts/cluster/templates/backup-google-creds.yaml b/charts/paradedb-cluster/templates/backup-google-creds.yaml similarity index 100% rename from charts/cluster/templates/backup-google-creds.yaml rename to charts/paradedb-cluster/templates/backup-google-creds.yaml diff --git a/charts/cluster/templates/backup-s3-creds.yaml b/charts/paradedb-cluster/templates/backup-s3-creds.yaml similarity index 100% rename from charts/cluster/templates/backup-s3-creds.yaml rename to charts/paradedb-cluster/templates/backup-s3-creds.yaml diff --git a/charts/cluster/templates/ca-bundle.yaml b/charts/paradedb-cluster/templates/ca-bundle.yaml similarity index 100% rename from charts/cluster/templates/ca-bundle.yaml rename to charts/paradedb-cluster/templates/ca-bundle.yaml diff --git a/charts/cluster/templates/cluster.yaml b/charts/paradedb-cluster/templates/cluster.yaml similarity index 100% rename from charts/cluster/templates/cluster.yaml rename to charts/paradedb-cluster/templates/cluster.yaml diff --git a/charts/cluster/templates/image-catalog-timescaledb-ha.yaml b/charts/paradedb-cluster/templates/image-catalog-timescaledb-ha.yaml similarity index 100% rename from charts/cluster/templates/image-catalog-timescaledb-ha.yaml rename to charts/paradedb-cluster/templates/image-catalog-timescaledb-ha.yaml diff --git a/charts/cluster/templates/image-catalog.yaml b/charts/paradedb-cluster/templates/image-catalog.yaml similarity index 100% rename from charts/cluster/templates/image-catalog.yaml rename to charts/paradedb-cluster/templates/image-catalog.yaml diff --git a/charts/cluster/templates/pooler.yaml b/charts/paradedb-cluster/templates/pooler.yaml similarity index 100% rename from charts/cluster/templates/pooler.yaml rename to charts/paradedb-cluster/templates/pooler.yaml diff --git a/charts/cluster/templates/prometheus-rule.yaml b/charts/paradedb-cluster/templates/prometheus-rule.yaml similarity index 100% rename from charts/cluster/templates/prometheus-rule.yaml rename to charts/paradedb-cluster/templates/prometheus-rule.yaml diff --git a/charts/cluster/templates/recovery-azure-creds.yaml b/charts/paradedb-cluster/templates/recovery-azure-creds.yaml similarity index 100% rename from charts/cluster/templates/recovery-azure-creds.yaml rename to charts/paradedb-cluster/templates/recovery-azure-creds.yaml diff --git a/charts/cluster/templates/recovery-google-creds.yaml b/charts/paradedb-cluster/templates/recovery-google-creds.yaml similarity index 100% rename from charts/cluster/templates/recovery-google-creds.yaml rename to charts/paradedb-cluster/templates/recovery-google-creds.yaml diff --git a/charts/cluster/templates/recovery-pg_basebackup-password.yaml b/charts/paradedb-cluster/templates/recovery-pg_basebackup-password.yaml similarity index 100% rename from charts/cluster/templates/recovery-pg_basebackup-password.yaml rename to charts/paradedb-cluster/templates/recovery-pg_basebackup-password.yaml diff --git a/charts/cluster/templates/recovery-s3-creds.yaml b/charts/paradedb-cluster/templates/recovery-s3-creds.yaml similarity index 100% rename from charts/cluster/templates/recovery-s3-creds.yaml rename to charts/paradedb-cluster/templates/recovery-s3-creds.yaml diff --git a/charts/cluster/templates/scheduled-backups.yaml b/charts/paradedb-cluster/templates/scheduled-backups.yaml similarity index 100% rename from charts/cluster/templates/scheduled-backups.yaml rename to charts/paradedb-cluster/templates/scheduled-backups.yaml diff --git a/charts/cluster/templates/tests/ping.yaml b/charts/paradedb-cluster/templates/tests/ping.yaml similarity index 100% rename from charts/cluster/templates/tests/ping.yaml rename to charts/paradedb-cluster/templates/tests/ping.yaml diff --git a/charts/cluster/templates/user-metrics.yaml b/charts/paradedb-cluster/templates/user-metrics.yaml similarity index 100% rename from charts/cluster/templates/user-metrics.yaml rename to charts/paradedb-cluster/templates/user-metrics.yaml diff --git a/charts/cluster/test/monitoring/01-monitoring_cluster-assert.yaml b/charts/paradedb-cluster/test/monitoring/01-monitoring_cluster-assert.yaml similarity index 70% rename from charts/cluster/test/monitoring/01-monitoring_cluster-assert.yaml rename to charts/paradedb-cluster/test/monitoring/01-monitoring_cluster-assert.yaml index d69c702c0..baac2f2ec 100644 --- a/charts/cluster/test/monitoring/01-monitoring_cluster-assert.yaml +++ b/charts/paradedb-cluster/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/cluster/test/monitoring/01-monitoring_cluster.yaml b/charts/paradedb-cluster/test/monitoring/01-monitoring_cluster.yaml similarity index 100% rename from charts/cluster/test/monitoring/01-monitoring_cluster.yaml rename to charts/paradedb-cluster/test/monitoring/01-monitoring_cluster.yaml diff --git a/charts/cluster/test/monitoring/chainsaw-test.yaml b/charts/paradedb-cluster/test/monitoring/chainsaw-test.yaml similarity index 100% rename from charts/cluster/test/monitoring/chainsaw-test.yaml rename to charts/paradedb-cluster/test/monitoring/chainsaw-test.yaml diff --git a/charts/cluster/test/paradedb-minio-backup-restore/00-minio_cleanup-assert.yaml b/charts/paradedb-cluster/test/paradedb-minio-backup-restore/00-minio_cleanup-assert.yaml similarity index 100% rename from charts/cluster/test/paradedb-minio-backup-restore/00-minio_cleanup-assert.yaml rename to charts/paradedb-cluster/test/paradedb-minio-backup-restore/00-minio_cleanup-assert.yaml diff --git a/charts/cluster/test/paradedb-minio-backup-restore/00-minio_cleanup.yaml b/charts/paradedb-cluster/test/paradedb-minio-backup-restore/00-minio_cleanup.yaml similarity index 100% rename from charts/cluster/test/paradedb-minio-backup-restore/00-minio_cleanup.yaml rename to charts/paradedb-cluster/test/paradedb-minio-backup-restore/00-minio_cleanup.yaml diff --git a/charts/cluster/test/paradedb-minio-backup-restore/01-paradedb_cluster-assert.yaml b/charts/paradedb-cluster/test/paradedb-minio-backup-restore/01-paradedb_cluster-assert.yaml similarity index 71% rename from charts/cluster/test/paradedb-minio-backup-restore/01-paradedb_cluster-assert.yaml rename to charts/paradedb-cluster/test/paradedb-minio-backup-restore/01-paradedb_cluster-assert.yaml index 8b243d630..1b995d1d2 100644 --- a/charts/cluster/test/paradedb-minio-backup-restore/01-paradedb_cluster-assert.yaml +++ b/charts/paradedb-cluster/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/cluster/test/paradedb-minio-backup-restore/01-paradedb_cluster.yaml b/charts/paradedb-cluster/test/paradedb-minio-backup-restore/01-paradedb_cluster.yaml similarity index 100% rename from charts/cluster/test/paradedb-minio-backup-restore/01-paradedb_cluster.yaml rename to charts/paradedb-cluster/test/paradedb-minio-backup-restore/01-paradedb_cluster.yaml diff --git a/charts/cluster/test/paradedb-minio-backup-restore/02-paradedb_write-assert.yaml b/charts/paradedb-cluster/test/paradedb-minio-backup-restore/02-paradedb_write-assert.yaml similarity index 100% rename from charts/cluster/test/paradedb-minio-backup-restore/02-paradedb_write-assert.yaml rename to charts/paradedb-cluster/test/paradedb-minio-backup-restore/02-paradedb_write-assert.yaml diff --git a/charts/cluster/test/paradedb-minio-backup-restore/02-paradedb_write.yaml b/charts/paradedb-cluster/test/paradedb-minio-backup-restore/02-paradedb_write.yaml similarity index 95% rename from charts/cluster/test/paradedb-minio-backup-restore/02-paradedb_write.yaml rename to charts/paradedb-cluster/test/paradedb-minio-backup-restore/02-paradedb_write.yaml index a2b669e5c..df7dd9259 100644 --- a/charts/cluster/test/paradedb-minio-backup-restore/02-paradedb_write.yaml +++ b/charts/paradedb-cluster/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/cluster/test/paradedb-minio-backup-restore/03-paradedb_test-assert.yaml b/charts/paradedb-cluster/test/paradedb-minio-backup-restore/03-paradedb_test-assert.yaml similarity index 100% rename from charts/cluster/test/paradedb-minio-backup-restore/03-paradedb_test-assert.yaml rename to charts/paradedb-cluster/test/paradedb-minio-backup-restore/03-paradedb_test-assert.yaml diff --git a/charts/cluster/test/paradedb-minio-backup-restore/03-paradedb_test.yaml b/charts/paradedb-cluster/test/paradedb-minio-backup-restore/03-paradedb_test.yaml similarity index 92% rename from charts/cluster/test/paradedb-minio-backup-restore/03-paradedb_test.yaml rename to charts/paradedb-cluster/test/paradedb-minio-backup-restore/03-paradedb_test.yaml index 52a489df5..befadcfc5 100644 --- a/charts/cluster/test/paradedb-minio-backup-restore/03-paradedb_test.yaml +++ b/charts/paradedb-cluster/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/cluster/test/paradedb-minio-backup-restore/04-data_write-assert.yaml b/charts/paradedb-cluster/test/paradedb-minio-backup-restore/04-data_write-assert.yaml similarity index 100% rename from charts/cluster/test/paradedb-minio-backup-restore/04-data_write-assert.yaml rename to charts/paradedb-cluster/test/paradedb-minio-backup-restore/04-data_write-assert.yaml diff --git a/charts/cluster/test/timescale-minio-backup-restore/04-data_write.yaml b/charts/paradedb-cluster/test/paradedb-minio-backup-restore/04-data_write.yaml similarity index 95% rename from charts/cluster/test/timescale-minio-backup-restore/04-data_write.yaml rename to charts/paradedb-cluster/test/paradedb-minio-backup-restore/04-data_write.yaml index b827de143..aa8b243f0 100644 --- a/charts/cluster/test/timescale-minio-backup-restore/04-data_write.yaml +++ b/charts/paradedb-cluster/test/paradedb-minio-backup-restore/04-data_write.yaml @@ -39,7 +39,7 @@ spec: - name: DB_URI valueFrom: secretKeyRef: - name: timescale-cluster-superuser + name: paradedb-paradedb-cluster-superuser key: uri image: alpine:3.19 command: ['sh', '-c'] diff --git a/charts/cluster/test/timescale-minio-backup-restore/05-backup.yaml b/charts/paradedb-cluster/test/paradedb-minio-backup-restore/05-backup.yaml similarity index 77% rename from charts/cluster/test/timescale-minio-backup-restore/05-backup.yaml rename to charts/paradedb-cluster/test/paradedb-minio-backup-restore/05-backup.yaml index be5e4b181..d8ac63218 100644 --- a/charts/cluster/test/timescale-minio-backup-restore/05-backup.yaml +++ b/charts/paradedb-cluster/test/paradedb-minio-backup-restore/05-backup.yaml @@ -5,4 +5,4 @@ metadata: spec: method: barmanObjectStore cluster: - name: timescale-cluster + name: paradedb-paradedb-cluster diff --git a/charts/cluster/test/timescale-minio-backup-restore/05-backup_completed-assert.yaml b/charts/paradedb-cluster/test/paradedb-minio-backup-restore/05-backup_completed-assert.yaml similarity index 81% rename from charts/cluster/test/timescale-minio-backup-restore/05-backup_completed-assert.yaml rename to charts/paradedb-cluster/test/paradedb-minio-backup-restore/05-backup_completed-assert.yaml index 040b1a49e..c1103592e 100644 --- a/charts/cluster/test/timescale-minio-backup-restore/05-backup_completed-assert.yaml +++ b/charts/paradedb-cluster/test/paradedb-minio-backup-restore/05-backup_completed-assert.yaml @@ -4,7 +4,7 @@ metadata: name: post-init-backup spec: cluster: - name: timescale-cluster + name: paradedb-paradedb-cluster method: barmanObjectStore status: phase: completed diff --git a/charts/cluster/test/timescale-minio-backup-restore/05-backup_running-assert.yaml b/charts/paradedb-cluster/test/paradedb-minio-backup-restore/05-backup_running-assert.yaml similarity index 80% rename from charts/cluster/test/timescale-minio-backup-restore/05-backup_running-assert.yaml rename to charts/paradedb-cluster/test/paradedb-minio-backup-restore/05-backup_running-assert.yaml index dc35727a0..cdb6605f2 100644 --- a/charts/cluster/test/timescale-minio-backup-restore/05-backup_running-assert.yaml +++ b/charts/paradedb-cluster/test/paradedb-minio-backup-restore/05-backup_running-assert.yaml @@ -4,7 +4,7 @@ metadata: name: post-init-backup spec: cluster: - name: timescale-cluster + name: paradedb-paradedb-cluster method: barmanObjectStore status: phase: running diff --git a/charts/cluster/test/timescale-minio-backup-restore/05-checkpoint.yaml b/charts/paradedb-cluster/test/paradedb-minio-backup-restore/05-checkpoint.yaml similarity index 92% rename from charts/cluster/test/timescale-minio-backup-restore/05-checkpoint.yaml rename to charts/paradedb-cluster/test/paradedb-minio-backup-restore/05-checkpoint.yaml index 3ba7fc727..7d6abe4e4 100644 --- a/charts/cluster/test/timescale-minio-backup-restore/05-checkpoint.yaml +++ b/charts/paradedb-cluster/test/paradedb-minio-backup-restore/05-checkpoint.yaml @@ -12,7 +12,7 @@ spec: - name: DB_URI valueFrom: secretKeyRef: - name: timescale-cluster-superuser + name: paradedb-paradedb-cluster-superuser key: uri image: alpine:3.19 command: ['sh', '-c'] diff --git a/charts/cluster/test/paradedb-minio-backup-restore/06-post_backup_data_write-assert.yaml b/charts/paradedb-cluster/test/paradedb-minio-backup-restore/06-post_backup_data_write-assert.yaml similarity index 100% rename from charts/cluster/test/paradedb-minio-backup-restore/06-post_backup_data_write-assert.yaml rename to charts/paradedb-cluster/test/paradedb-minio-backup-restore/06-post_backup_data_write-assert.yaml diff --git a/charts/cluster/test/timescale-minio-backup-restore/06-post_backup_data_write.yaml b/charts/paradedb-cluster/test/paradedb-minio-backup-restore/06-post_backup_data_write.yaml similarity index 92% rename from charts/cluster/test/timescale-minio-backup-restore/06-post_backup_data_write.yaml rename to charts/paradedb-cluster/test/paradedb-minio-backup-restore/06-post_backup_data_write.yaml index 8585b247d..599a37a48 100644 --- a/charts/cluster/test/timescale-minio-backup-restore/06-post_backup_data_write.yaml +++ b/charts/paradedb-cluster/test/paradedb-minio-backup-restore/06-post_backup_data_write.yaml @@ -12,7 +12,7 @@ spec: - name: DB_URI valueFrom: secretKeyRef: - name: timescale-cluster-superuser + name: paradedb-paradedb-cluster-superuser key: uri - name: NAMESPACE valueFrom: diff --git a/charts/cluster/test/timescale-minio-backup-restore/07-recovery_backup_pitr_cluster-assert.yaml b/charts/paradedb-cluster/test/paradedb-minio-backup-restore/07-recovery_backup_pitr_cluster-assert.yaml similarity index 65% rename from charts/cluster/test/timescale-minio-backup-restore/07-recovery_backup_pitr_cluster-assert.yaml rename to charts/paradedb-cluster/test/paradedb-minio-backup-restore/07-recovery_backup_pitr_cluster-assert.yaml index 2b6b9651f..096619f0e 100644 --- a/charts/cluster/test/timescale-minio-backup-restore/07-recovery_backup_pitr_cluster-assert.yaml +++ b/charts/paradedb-cluster/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/cluster/test/paradedb-minio-backup-restore/07-recovery_backup_pitr_cluster.yaml b/charts/paradedb-cluster/test/paradedb-minio-backup-restore/07-recovery_backup_pitr_cluster.yaml similarity index 100% rename from charts/cluster/test/paradedb-minio-backup-restore/07-recovery_backup_pitr_cluster.yaml rename to charts/paradedb-cluster/test/paradedb-minio-backup-restore/07-recovery_backup_pitr_cluster.yaml diff --git a/charts/cluster/test/paradedb-minio-backup-restore/08-data_test-assert.yaml b/charts/paradedb-cluster/test/paradedb-minio-backup-restore/08-data_test-assert.yaml similarity index 100% rename from charts/cluster/test/paradedb-minio-backup-restore/08-data_test-assert.yaml rename to charts/paradedb-cluster/test/paradedb-minio-backup-restore/08-data_test-assert.yaml diff --git a/charts/cluster/test/paradedb-minio-backup-restore/08-data_test.yaml b/charts/paradedb-cluster/test/paradedb-minio-backup-restore/08-data_test.yaml similarity index 92% rename from charts/cluster/test/paradedb-minio-backup-restore/08-data_test.yaml rename to charts/paradedb-cluster/test/paradedb-minio-backup-restore/08-data_test.yaml index 5fb4faf39..8e88f58a7 100644 --- a/charts/cluster/test/paradedb-minio-backup-restore/08-data_test.yaml +++ b/charts/paradedb-cluster/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/cluster/test/paradedb-minio-backup-restore/chainsaw-test.yaml b/charts/paradedb-cluster/test/paradedb-minio-backup-restore/chainsaw-test.yaml similarity index 100% rename from charts/cluster/test/paradedb-minio-backup-restore/chainsaw-test.yaml rename to charts/paradedb-cluster/test/paradedb-minio-backup-restore/chainsaw-test.yaml diff --git a/charts/cluster/test/pooler/01-pooler_cluster-assert.yaml b/charts/paradedb-cluster/test/pooler/01-pooler_cluster-assert.yaml similarity index 64% rename from charts/cluster/test/pooler/01-pooler_cluster-assert.yaml rename to charts/paradedb-cluster/test/pooler/01-pooler_cluster-assert.yaml index 1b6178394..3b5b778b2 100644 --- a/charts/cluster/test/pooler/01-pooler_cluster-assert.yaml +++ b/charts/paradedb-cluster/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/cluster/test/pooler/01-pooler_cluster.yaml b/charts/paradedb-cluster/test/pooler/01-pooler_cluster.yaml similarity index 100% rename from charts/cluster/test/pooler/01-pooler_cluster.yaml rename to charts/paradedb-cluster/test/pooler/01-pooler_cluster.yaml diff --git a/charts/cluster/test/pooler/chainsaw-test.yaml b/charts/paradedb-cluster/test/pooler/chainsaw-test.yaml similarity index 100% rename from charts/cluster/test/pooler/chainsaw-test.yaml rename to charts/paradedb-cluster/test/pooler/chainsaw-test.yaml diff --git a/charts/cluster/test/postgresql-cluster-configuration/01-non_default_configuration_cluster-assert.yaml b/charts/paradedb-cluster/test/postgresql-cluster-configuration/01-non_default_configuration_cluster-assert.yaml similarity index 97% rename from charts/cluster/test/postgresql-cluster-configuration/01-non_default_configuration_cluster-assert.yaml rename to charts/paradedb-cluster/test/postgresql-cluster-configuration/01-non_default_configuration_cluster-assert.yaml index 5f5c62a68..c94daffdd 100644 --- a/charts/cluster/test/postgresql-cluster-configuration/01-non_default_configuration_cluster-assert.yaml +++ b/charts/paradedb-cluster/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/cluster/test/postgresql-cluster-configuration/01-non_default_configuration_cluster.yaml b/charts/paradedb-cluster/test/postgresql-cluster-configuration/01-non_default_configuration_cluster.yaml similarity index 100% rename from charts/cluster/test/postgresql-cluster-configuration/01-non_default_configuration_cluster.yaml rename to charts/paradedb-cluster/test/postgresql-cluster-configuration/01-non_default_configuration_cluster.yaml diff --git a/charts/cluster/test/postgresql-cluster-configuration/chainsaw-test.yaml b/charts/paradedb-cluster/test/postgresql-cluster-configuration/chainsaw-test.yaml similarity index 100% rename from charts/cluster/test/postgresql-cluster-configuration/chainsaw-test.yaml rename to charts/paradedb-cluster/test/postgresql-cluster-configuration/chainsaw-test.yaml diff --git a/charts/cluster/test/postgresql-minio-backup-restore/00-minio_cleanup-assert.yaml b/charts/paradedb-cluster/test/postgresql-minio-backup-restore/00-minio_cleanup-assert.yaml similarity index 100% rename from charts/cluster/test/postgresql-minio-backup-restore/00-minio_cleanup-assert.yaml rename to charts/paradedb-cluster/test/postgresql-minio-backup-restore/00-minio_cleanup-assert.yaml diff --git a/charts/cluster/test/postgresql-minio-backup-restore/00-minio_cleanup.yaml b/charts/paradedb-cluster/test/postgresql-minio-backup-restore/00-minio_cleanup.yaml similarity index 100% rename from charts/cluster/test/postgresql-minio-backup-restore/00-minio_cleanup.yaml rename to charts/paradedb-cluster/test/postgresql-minio-backup-restore/00-minio_cleanup.yaml diff --git a/charts/cluster/test/postgresql-minio-backup-restore/01-standalone_cluster-assert.yaml b/charts/paradedb-cluster/test/postgresql-minio-backup-restore/01-standalone_cluster-assert.yaml similarity index 70% rename from charts/cluster/test/postgresql-minio-backup-restore/01-standalone_cluster-assert.yaml rename to charts/paradedb-cluster/test/postgresql-minio-backup-restore/01-standalone_cluster-assert.yaml index 0663e78c9..46f4eb6b8 100644 --- a/charts/cluster/test/postgresql-minio-backup-restore/01-standalone_cluster-assert.yaml +++ b/charts/paradedb-cluster/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/cluster/test/postgresql-minio-backup-restore/01-standalone_cluster.yaml b/charts/paradedb-cluster/test/postgresql-minio-backup-restore/01-standalone_cluster.yaml similarity index 100% rename from charts/cluster/test/postgresql-minio-backup-restore/01-standalone_cluster.yaml rename to charts/paradedb-cluster/test/postgresql-minio-backup-restore/01-standalone_cluster.yaml diff --git a/charts/cluster/test/postgresql-minio-backup-restore/02-data_write-assert.yaml b/charts/paradedb-cluster/test/postgresql-minio-backup-restore/02-data_write-assert.yaml similarity index 100% rename from charts/cluster/test/postgresql-minio-backup-restore/02-data_write-assert.yaml rename to charts/paradedb-cluster/test/postgresql-minio-backup-restore/02-data_write-assert.yaml diff --git a/charts/cluster/test/postgresql-minio-backup-restore/02-data_write.yaml b/charts/paradedb-cluster/test/postgresql-minio-backup-restore/02-data_write.yaml similarity index 90% rename from charts/cluster/test/postgresql-minio-backup-restore/02-data_write.yaml rename to charts/paradedb-cluster/test/postgresql-minio-backup-restore/02-data_write.yaml index e674d8b53..f154aa447 100644 --- a/charts/cluster/test/postgresql-minio-backup-restore/02-data_write.yaml +++ b/charts/paradedb-cluster/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/cluster/test/postgresql-minio-backup-restore/03-backup.yaml b/charts/paradedb-cluster/test/postgresql-minio-backup-restore/03-backup.yaml similarity index 76% rename from charts/cluster/test/postgresql-minio-backup-restore/03-backup.yaml rename to charts/paradedb-cluster/test/postgresql-minio-backup-restore/03-backup.yaml index c3afd4676..1f7f6a60b 100644 --- a/charts/cluster/test/postgresql-minio-backup-restore/03-backup.yaml +++ b/charts/paradedb-cluster/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/cluster/test/postgresql-minio-backup-restore/03-backup_completed-assert.yaml b/charts/paradedb-cluster/test/postgresql-minio-backup-restore/03-backup_completed-assert.yaml similarity index 80% rename from charts/cluster/test/postgresql-minio-backup-restore/03-backup_completed-assert.yaml rename to charts/paradedb-cluster/test/postgresql-minio-backup-restore/03-backup_completed-assert.yaml index 7b1e9e534..1d0d3fc25 100644 --- a/charts/cluster/test/postgresql-minio-backup-restore/03-backup_completed-assert.yaml +++ b/charts/paradedb-cluster/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/cluster/test/postgresql-minio-backup-restore/03-backup_running-assert.yaml b/charts/paradedb-cluster/test/postgresql-minio-backup-restore/03-backup_running-assert.yaml similarity index 80% rename from charts/cluster/test/postgresql-minio-backup-restore/03-backup_running-assert.yaml rename to charts/paradedb-cluster/test/postgresql-minio-backup-restore/03-backup_running-assert.yaml index cbd9645c5..b6578ba09 100644 --- a/charts/cluster/test/postgresql-minio-backup-restore/03-backup_running-assert.yaml +++ b/charts/paradedb-cluster/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/cluster/test/postgresql-minio-backup-restore/03-checkpoint.yaml b/charts/paradedb-cluster/test/postgresql-minio-backup-restore/03-checkpoint.yaml similarity index 91% rename from charts/cluster/test/postgresql-minio-backup-restore/03-checkpoint.yaml rename to charts/paradedb-cluster/test/postgresql-minio-backup-restore/03-checkpoint.yaml index 52862bf07..a4f396898 100644 --- a/charts/cluster/test/postgresql-minio-backup-restore/03-checkpoint.yaml +++ b/charts/paradedb-cluster/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/cluster/test/postgresql-minio-backup-restore/04-post_backup_data_write-assert.yaml b/charts/paradedb-cluster/test/postgresql-minio-backup-restore/04-post_backup_data_write-assert.yaml similarity index 100% rename from charts/cluster/test/postgresql-minio-backup-restore/04-post_backup_data_write-assert.yaml rename to charts/paradedb-cluster/test/postgresql-minio-backup-restore/04-post_backup_data_write-assert.yaml diff --git a/charts/cluster/test/postgresql-minio-backup-restore/04-post_backup_data_write.yaml b/charts/paradedb-cluster/test/postgresql-minio-backup-restore/04-post_backup_data_write.yaml similarity index 95% rename from charts/cluster/test/postgresql-minio-backup-restore/04-post_backup_data_write.yaml rename to charts/paradedb-cluster/test/postgresql-minio-backup-restore/04-post_backup_data_write.yaml index 2e56595de..207ed5445 100644 --- a/charts/cluster/test/postgresql-minio-backup-restore/04-post_backup_data_write.yaml +++ b/charts/paradedb-cluster/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/cluster/test/postgresql-minio-backup-restore/05-recovery_backup_cluster-assert.yaml b/charts/paradedb-cluster/test/postgresql-minio-backup-restore/05-recovery_backup_cluster-assert.yaml similarity index 67% rename from charts/cluster/test/postgresql-minio-backup-restore/05-recovery_backup_cluster-assert.yaml rename to charts/paradedb-cluster/test/postgresql-minio-backup-restore/05-recovery_backup_cluster-assert.yaml index 90c4b24db..a138ec961 100644 --- a/charts/cluster/test/postgresql-minio-backup-restore/05-recovery_backup_cluster-assert.yaml +++ b/charts/paradedb-cluster/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/cluster/test/postgresql-minio-backup-restore/05-recovery_backup_cluster.yaml b/charts/paradedb-cluster/test/postgresql-minio-backup-restore/05-recovery_backup_cluster.yaml similarity index 100% rename from charts/cluster/test/postgresql-minio-backup-restore/05-recovery_backup_cluster.yaml rename to charts/paradedb-cluster/test/postgresql-minio-backup-restore/05-recovery_backup_cluster.yaml diff --git a/charts/cluster/test/postgresql-minio-backup-restore/06-data_test-assert.yaml b/charts/paradedb-cluster/test/postgresql-minio-backup-restore/06-data_test-assert.yaml similarity index 100% rename from charts/cluster/test/postgresql-minio-backup-restore/06-data_test-assert.yaml rename to charts/paradedb-cluster/test/postgresql-minio-backup-restore/06-data_test-assert.yaml diff --git a/charts/cluster/test/postgresql-minio-backup-restore/06-data_test.yaml b/charts/paradedb-cluster/test/postgresql-minio-backup-restore/06-data_test.yaml similarity index 90% rename from charts/cluster/test/postgresql-minio-backup-restore/06-data_test.yaml rename to charts/paradedb-cluster/test/postgresql-minio-backup-restore/06-data_test.yaml index 86a15439b..95d2343ec 100644 --- a/charts/cluster/test/postgresql-minio-backup-restore/06-data_test.yaml +++ b/charts/paradedb-cluster/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/cluster/test/postgresql-minio-backup-restore/07-recovery_object_store_cluster-assert.yaml b/charts/paradedb-cluster/test/postgresql-minio-backup-restore/07-recovery_object_store_cluster-assert.yaml similarity index 64% rename from charts/cluster/test/postgresql-minio-backup-restore/07-recovery_object_store_cluster-assert.yaml rename to charts/paradedb-cluster/test/postgresql-minio-backup-restore/07-recovery_object_store_cluster-assert.yaml index f8693036b..783ca7823 100644 --- a/charts/cluster/test/postgresql-minio-backup-restore/07-recovery_object_store_cluster-assert.yaml +++ b/charts/paradedb-cluster/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/cluster/test/postgresql-minio-backup-restore/07-recovery_object_store_cluster.yaml b/charts/paradedb-cluster/test/postgresql-minio-backup-restore/07-recovery_object_store_cluster.yaml similarity index 95% rename from charts/cluster/test/postgresql-minio-backup-restore/07-recovery_object_store_cluster.yaml rename to charts/paradedb-cluster/test/postgresql-minio-backup-restore/07-recovery_object_store_cluster.yaml index 7f059e394..d372b1598 100644 --- a/charts/cluster/test/postgresql-minio-backup-restore/07-recovery_object_store_cluster.yaml +++ b/charts/paradedb-cluster/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/cluster/test/postgresql-minio-backup-restore/08-data_test-assert.yaml b/charts/paradedb-cluster/test/postgresql-minio-backup-restore/08-data_test-assert.yaml similarity index 100% rename from charts/cluster/test/postgresql-minio-backup-restore/08-data_test-assert.yaml rename to charts/paradedb-cluster/test/postgresql-minio-backup-restore/08-data_test-assert.yaml diff --git a/charts/cluster/test/postgresql-minio-backup-restore/08-data_test.yaml b/charts/paradedb-cluster/test/postgresql-minio-backup-restore/08-data_test.yaml similarity index 89% rename from charts/cluster/test/postgresql-minio-backup-restore/08-data_test.yaml rename to charts/paradedb-cluster/test/postgresql-minio-backup-restore/08-data_test.yaml index 94ac2c34e..3df8e415f 100644 --- a/charts/cluster/test/postgresql-minio-backup-restore/08-data_test.yaml +++ b/charts/paradedb-cluster/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/cluster/test/postgresql-minio-backup-restore/09-recovery_backup_pitr_cluster-assert.yaml b/charts/paradedb-cluster/test/postgresql-minio-backup-restore/09-recovery_backup_pitr_cluster-assert.yaml similarity index 65% rename from charts/cluster/test/postgresql-minio-backup-restore/09-recovery_backup_pitr_cluster-assert.yaml rename to charts/paradedb-cluster/test/postgresql-minio-backup-restore/09-recovery_backup_pitr_cluster-assert.yaml index 2b6b9651f..096619f0e 100644 --- a/charts/cluster/test/postgresql-minio-backup-restore/09-recovery_backup_pitr_cluster-assert.yaml +++ b/charts/paradedb-cluster/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/cluster/test/postgresql-minio-backup-restore/09-recovery_backup_pitr_cluster.yaml b/charts/paradedb-cluster/test/postgresql-minio-backup-restore/09-recovery_backup_pitr_cluster.yaml similarity index 100% rename from charts/cluster/test/postgresql-minio-backup-restore/09-recovery_backup_pitr_cluster.yaml rename to charts/paradedb-cluster/test/postgresql-minio-backup-restore/09-recovery_backup_pitr_cluster.yaml diff --git a/charts/cluster/test/postgresql-minio-backup-restore/10-data_test-assert.yaml b/charts/paradedb-cluster/test/postgresql-minio-backup-restore/10-data_test-assert.yaml similarity index 100% rename from charts/cluster/test/postgresql-minio-backup-restore/10-data_test-assert.yaml rename to charts/paradedb-cluster/test/postgresql-minio-backup-restore/10-data_test-assert.yaml diff --git a/charts/cluster/test/postgresql-minio-backup-restore/10-data_test.yaml b/charts/paradedb-cluster/test/postgresql-minio-backup-restore/10-data_test.yaml similarity index 92% rename from charts/cluster/test/postgresql-minio-backup-restore/10-data_test.yaml rename to charts/paradedb-cluster/test/postgresql-minio-backup-restore/10-data_test.yaml index 5fb4faf39..8e88f58a7 100644 --- a/charts/cluster/test/postgresql-minio-backup-restore/10-data_test.yaml +++ b/charts/paradedb-cluster/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/cluster/test/postgresql-minio-backup-restore/chainsaw-test.yaml b/charts/paradedb-cluster/test/postgresql-minio-backup-restore/chainsaw-test.yaml similarity index 100% rename from charts/cluster/test/postgresql-minio-backup-restore/chainsaw-test.yaml rename to charts/paradedb-cluster/test/postgresql-minio-backup-restore/chainsaw-test.yaml diff --git a/charts/cluster/test/postgresql-pg_basebackup/00-source-cluster-assert.yaml b/charts/paradedb-cluster/test/postgresql-pg_basebackup/00-source-cluster-assert.yaml similarity index 72% rename from charts/cluster/test/postgresql-pg_basebackup/00-source-cluster-assert.yaml rename to charts/paradedb-cluster/test/postgresql-pg_basebackup/00-source-cluster-assert.yaml index 90ea90fd5..899732fc6 100644 --- a/charts/cluster/test/postgresql-pg_basebackup/00-source-cluster-assert.yaml +++ b/charts/paradedb-cluster/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/cluster/test/postgresql-pg_basebackup/00-source-cluster.yaml b/charts/paradedb-cluster/test/postgresql-pg_basebackup/00-source-cluster.yaml similarity index 100% rename from charts/cluster/test/postgresql-pg_basebackup/00-source-cluster.yaml rename to charts/paradedb-cluster/test/postgresql-pg_basebackup/00-source-cluster.yaml diff --git a/charts/cluster/test/postgresql-pg_basebackup/01-data_write-assert.yaml b/charts/paradedb-cluster/test/postgresql-pg_basebackup/01-data_write-assert.yaml similarity index 100% rename from charts/cluster/test/postgresql-pg_basebackup/01-data_write-assert.yaml rename to charts/paradedb-cluster/test/postgresql-pg_basebackup/01-data_write-assert.yaml diff --git a/charts/cluster/test/postgresql-pg_basebackup/01-data_write.yaml b/charts/paradedb-cluster/test/postgresql-pg_basebackup/01-data_write.yaml similarity index 77% rename from charts/cluster/test/postgresql-pg_basebackup/01-data_write.yaml rename to charts/paradedb-cluster/test/postgresql-pg_basebackup/01-data_write.yaml index cc5a743ad..8304c3843 100644 --- a/charts/cluster/test/postgresql-pg_basebackup/01-data_write.yaml +++ b/charts/paradedb-cluster/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/cluster/test/postgresql-pg_basebackup/02-pg_basebackup-cluster-assert.yaml b/charts/paradedb-cluster/test/postgresql-pg_basebackup/02-pg_basebackup-cluster-assert.yaml similarity index 68% rename from charts/cluster/test/postgresql-pg_basebackup/02-pg_basebackup-cluster-assert.yaml rename to charts/paradedb-cluster/test/postgresql-pg_basebackup/02-pg_basebackup-cluster-assert.yaml index 9b953d44a..ef179278c 100644 --- a/charts/cluster/test/postgresql-pg_basebackup/02-pg_basebackup-cluster-assert.yaml +++ b/charts/paradedb-cluster/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/cluster/test/postgresql-pg_basebackup/02-pg_basebackup-cluster.yaml b/charts/paradedb-cluster/test/postgresql-pg_basebackup/02-pg_basebackup-cluster.yaml similarity index 69% rename from charts/cluster/test/postgresql-pg_basebackup/02-pg_basebackup-cluster.yaml rename to charts/paradedb-cluster/test/postgresql-pg_basebackup/02-pg_basebackup-cluster.yaml index d389200e8..099a599dc 100644 --- a/charts/cluster/test/postgresql-pg_basebackup/02-pg_basebackup-cluster.yaml +++ b/charts/paradedb-cluster/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/cluster/test/postgresql-pg_basebackup/03-data_test-assert.yaml b/charts/paradedb-cluster/test/postgresql-pg_basebackup/03-data_test-assert.yaml similarity index 100% rename from charts/cluster/test/postgresql-pg_basebackup/03-data_test-assert.yaml rename to charts/paradedb-cluster/test/postgresql-pg_basebackup/03-data_test-assert.yaml diff --git a/charts/cluster/test/postgresql-pg_basebackup/03-data_test.yaml b/charts/paradedb-cluster/test/postgresql-pg_basebackup/03-data_test.yaml similarity index 90% rename from charts/cluster/test/postgresql-pg_basebackup/03-data_test.yaml rename to charts/paradedb-cluster/test/postgresql-pg_basebackup/03-data_test.yaml index 40eb9029a..ed969256d 100644 --- a/charts/cluster/test/postgresql-pg_basebackup/03-data_test.yaml +++ b/charts/paradedb-cluster/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/cluster/test/postgresql-pg_basebackup/chainsaw-test.yaml b/charts/paradedb-cluster/test/postgresql-pg_basebackup/chainsaw-test.yaml similarity index 100% rename from charts/cluster/test/postgresql-pg_basebackup/chainsaw-test.yaml rename to charts/paradedb-cluster/test/postgresql-pg_basebackup/chainsaw-test.yaml diff --git a/charts/cluster/test/timescale-minio-backup-restore/00-minio_cleanup-assert.yaml b/charts/paradedb-cluster/test/timescale-minio-backup-restore/00-minio_cleanup-assert.yaml similarity index 100% rename from charts/cluster/test/timescale-minio-backup-restore/00-minio_cleanup-assert.yaml rename to charts/paradedb-cluster/test/timescale-minio-backup-restore/00-minio_cleanup-assert.yaml diff --git a/charts/cluster/test/timescale-minio-backup-restore/00-minio_cleanup.yaml b/charts/paradedb-cluster/test/timescale-minio-backup-restore/00-minio_cleanup.yaml similarity index 100% rename from charts/cluster/test/timescale-minio-backup-restore/00-minio_cleanup.yaml rename to charts/paradedb-cluster/test/timescale-minio-backup-restore/00-minio_cleanup.yaml diff --git a/charts/cluster/test/timescale-minio-backup-restore/01-timescale_cluster-assert.yaml b/charts/paradedb-cluster/test/timescale-minio-backup-restore/01-timescale_cluster-assert.yaml similarity index 71% rename from charts/cluster/test/timescale-minio-backup-restore/01-timescale_cluster-assert.yaml rename to charts/paradedb-cluster/test/timescale-minio-backup-restore/01-timescale_cluster-assert.yaml index 3bbd2f8fe..7dfd88ea2 100644 --- a/charts/cluster/test/timescale-minio-backup-restore/01-timescale_cluster-assert.yaml +++ b/charts/paradedb-cluster/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/cluster/test/timescale-minio-backup-restore/01-timescale_cluster.yaml b/charts/paradedb-cluster/test/timescale-minio-backup-restore/01-timescale_cluster.yaml similarity index 100% rename from charts/cluster/test/timescale-minio-backup-restore/01-timescale_cluster.yaml rename to charts/paradedb-cluster/test/timescale-minio-backup-restore/01-timescale_cluster.yaml diff --git a/charts/cluster/test/timescale-minio-backup-restore/03-timescale_test-assert.yaml b/charts/paradedb-cluster/test/timescale-minio-backup-restore/03-timescale_test-assert.yaml similarity index 100% rename from charts/cluster/test/timescale-minio-backup-restore/03-timescale_test-assert.yaml rename to charts/paradedb-cluster/test/timescale-minio-backup-restore/03-timescale_test-assert.yaml diff --git a/charts/cluster/test/timescale-minio-backup-restore/03-timescale_test.yaml b/charts/paradedb-cluster/test/timescale-minio-backup-restore/03-timescale_test.yaml similarity index 91% rename from charts/cluster/test/timescale-minio-backup-restore/03-timescale_test.yaml rename to charts/paradedb-cluster/test/timescale-minio-backup-restore/03-timescale_test.yaml index 9b7581f96..174db0aed 100644 --- a/charts/cluster/test/timescale-minio-backup-restore/03-timescale_test.yaml +++ b/charts/paradedb-cluster/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/cluster/test/timescale-minio-backup-restore/04-data_write-assert.yaml b/charts/paradedb-cluster/test/timescale-minio-backup-restore/04-data_write-assert.yaml similarity index 100% rename from charts/cluster/test/timescale-minio-backup-restore/04-data_write-assert.yaml rename to charts/paradedb-cluster/test/timescale-minio-backup-restore/04-data_write-assert.yaml diff --git a/charts/cluster/test/paradedb-minio-backup-restore/04-data_write.yaml b/charts/paradedb-cluster/test/timescale-minio-backup-restore/04-data_write.yaml similarity index 95% rename from charts/cluster/test/paradedb-minio-backup-restore/04-data_write.yaml rename to charts/paradedb-cluster/test/timescale-minio-backup-restore/04-data_write.yaml index 646c7e6de..5eeb0b355 100644 --- a/charts/cluster/test/paradedb-minio-backup-restore/04-data_write.yaml +++ b/charts/paradedb-cluster/test/timescale-minio-backup-restore/04-data_write.yaml @@ -39,7 +39,7 @@ spec: - name: DB_URI valueFrom: secretKeyRef: - name: paradedb-cluster-superuser + name: timescale-paradedb-cluster-superuser key: uri image: alpine:3.19 command: ['sh', '-c'] diff --git a/charts/cluster/test/paradedb-minio-backup-restore/05-backup.yaml b/charts/paradedb-cluster/test/timescale-minio-backup-restore/05-backup.yaml similarity index 77% rename from charts/cluster/test/paradedb-minio-backup-restore/05-backup.yaml rename to charts/paradedb-cluster/test/timescale-minio-backup-restore/05-backup.yaml index 543c9c110..46ee202f4 100644 --- a/charts/cluster/test/paradedb-minio-backup-restore/05-backup.yaml +++ b/charts/paradedb-cluster/test/timescale-minio-backup-restore/05-backup.yaml @@ -5,4 +5,4 @@ metadata: spec: method: barmanObjectStore cluster: - name: paradedb-cluster + name: timescale-paradedb-cluster diff --git a/charts/cluster/test/paradedb-minio-backup-restore/05-backup_completed-assert.yaml b/charts/paradedb-cluster/test/timescale-minio-backup-restore/05-backup_completed-assert.yaml similarity index 80% rename from charts/cluster/test/paradedb-minio-backup-restore/05-backup_completed-assert.yaml rename to charts/paradedb-cluster/test/timescale-minio-backup-restore/05-backup_completed-assert.yaml index 013b0aad5..9572743bb 100644 --- a/charts/cluster/test/paradedb-minio-backup-restore/05-backup_completed-assert.yaml +++ b/charts/paradedb-cluster/test/timescale-minio-backup-restore/05-backup_completed-assert.yaml @@ -4,7 +4,7 @@ metadata: name: post-init-backup spec: cluster: - name: paradedb-cluster + name: timescale-paradedb-cluster method: barmanObjectStore status: phase: completed diff --git a/charts/cluster/test/paradedb-minio-backup-restore/05-backup_running-assert.yaml b/charts/paradedb-cluster/test/timescale-minio-backup-restore/05-backup_running-assert.yaml similarity index 80% rename from charts/cluster/test/paradedb-minio-backup-restore/05-backup_running-assert.yaml rename to charts/paradedb-cluster/test/timescale-minio-backup-restore/05-backup_running-assert.yaml index 6610deb8f..f6c8a3503 100644 --- a/charts/cluster/test/paradedb-minio-backup-restore/05-backup_running-assert.yaml +++ b/charts/paradedb-cluster/test/timescale-minio-backup-restore/05-backup_running-assert.yaml @@ -4,7 +4,7 @@ metadata: name: post-init-backup spec: cluster: - name: paradedb-cluster + name: timescale-paradedb-cluster method: barmanObjectStore status: phase: running diff --git a/charts/cluster/test/paradedb-minio-backup-restore/05-checkpoint.yaml b/charts/paradedb-cluster/test/timescale-minio-backup-restore/05-checkpoint.yaml similarity index 91% rename from charts/cluster/test/paradedb-minio-backup-restore/05-checkpoint.yaml rename to charts/paradedb-cluster/test/timescale-minio-backup-restore/05-checkpoint.yaml index bf886cc7b..669dc04d0 100644 --- a/charts/cluster/test/paradedb-minio-backup-restore/05-checkpoint.yaml +++ b/charts/paradedb-cluster/test/timescale-minio-backup-restore/05-checkpoint.yaml @@ -12,7 +12,7 @@ spec: - name: DB_URI valueFrom: secretKeyRef: - name: paradedb-cluster-superuser + name: timescale-paradedb-cluster-superuser key: uri image: alpine:3.19 command: ['sh', '-c'] diff --git a/charts/cluster/test/timescale-minio-backup-restore/06-post_backup_data_write-assert.yaml b/charts/paradedb-cluster/test/timescale-minio-backup-restore/06-post_backup_data_write-assert.yaml similarity index 100% rename from charts/cluster/test/timescale-minio-backup-restore/06-post_backup_data_write-assert.yaml rename to charts/paradedb-cluster/test/timescale-minio-backup-restore/06-post_backup_data_write-assert.yaml diff --git a/charts/cluster/test/paradedb-minio-backup-restore/06-post_backup_data_write.yaml b/charts/paradedb-cluster/test/timescale-minio-backup-restore/06-post_backup_data_write.yaml similarity index 91% rename from charts/cluster/test/paradedb-minio-backup-restore/06-post_backup_data_write.yaml rename to charts/paradedb-cluster/test/timescale-minio-backup-restore/06-post_backup_data_write.yaml index 8490de2c9..fe7fdebf2 100644 --- a/charts/cluster/test/paradedb-minio-backup-restore/06-post_backup_data_write.yaml +++ b/charts/paradedb-cluster/test/timescale-minio-backup-restore/06-post_backup_data_write.yaml @@ -12,7 +12,7 @@ spec: - name: DB_URI valueFrom: secretKeyRef: - name: paradedb-cluster-superuser + name: timescale-paradedb-cluster-superuser key: uri - name: NAMESPACE valueFrom: diff --git a/charts/cluster/test/paradedb-minio-backup-restore/07-recovery_backup_pitr_cluster-assert.yaml b/charts/paradedb-cluster/test/timescale-minio-backup-restore/07-recovery_backup_pitr_cluster-assert.yaml similarity index 65% rename from charts/cluster/test/paradedb-minio-backup-restore/07-recovery_backup_pitr_cluster-assert.yaml rename to charts/paradedb-cluster/test/timescale-minio-backup-restore/07-recovery_backup_pitr_cluster-assert.yaml index 2b6b9651f..096619f0e 100644 --- a/charts/cluster/test/paradedb-minio-backup-restore/07-recovery_backup_pitr_cluster-assert.yaml +++ b/charts/paradedb-cluster/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/cluster/test/timescale-minio-backup-restore/07-recovery_backup_pitr_cluster.yaml b/charts/paradedb-cluster/test/timescale-minio-backup-restore/07-recovery_backup_pitr_cluster.yaml similarity index 100% rename from charts/cluster/test/timescale-minio-backup-restore/07-recovery_backup_pitr_cluster.yaml rename to charts/paradedb-cluster/test/timescale-minio-backup-restore/07-recovery_backup_pitr_cluster.yaml diff --git a/charts/cluster/test/timescale-minio-backup-restore/08-data_test-assert.yaml b/charts/paradedb-cluster/test/timescale-minio-backup-restore/08-data_test-assert.yaml similarity index 100% rename from charts/cluster/test/timescale-minio-backup-restore/08-data_test-assert.yaml rename to charts/paradedb-cluster/test/timescale-minio-backup-restore/08-data_test-assert.yaml diff --git a/charts/cluster/test/timescale-minio-backup-restore/08-data_test.yaml b/charts/paradedb-cluster/test/timescale-minio-backup-restore/08-data_test.yaml similarity index 92% rename from charts/cluster/test/timescale-minio-backup-restore/08-data_test.yaml rename to charts/paradedb-cluster/test/timescale-minio-backup-restore/08-data_test.yaml index 5fb4faf39..8e88f58a7 100644 --- a/charts/cluster/test/timescale-minio-backup-restore/08-data_test.yaml +++ b/charts/paradedb-cluster/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'] diff --git a/charts/cluster/test/timescale-minio-backup-restore/chainsaw-test.yaml b/charts/paradedb-cluster/test/timescale-minio-backup-restore/chainsaw-test.yaml similarity index 100% rename from charts/cluster/test/timescale-minio-backup-restore/chainsaw-test.yaml rename to charts/paradedb-cluster/test/timescale-minio-backup-restore/chainsaw-test.yaml diff --git a/charts/cluster/values.schema.json b/charts/paradedb-cluster/values.schema.json similarity index 100% rename from charts/cluster/values.schema.json rename to charts/paradedb-cluster/values.schema.json diff --git a/charts/cluster/values.yaml b/charts/paradedb-cluster/values.yaml similarity index 100% rename from charts/cluster/values.yaml rename to charts/paradedb-cluster/values.yaml