From 99c741ee9d7ce27d295d3f64db3893b9b48697bf Mon Sep 17 00:00:00 2001 From: Anthony Landreth Date: Thu, 26 Oct 2023 15:25:27 -0400 Subject: [PATCH] Removes unneeded cluster definitions --- .../12--backup-with-force-conflicts.yaml | 14 ---------- .../e2e/restore/31--force-conflicts.yaml | 26 ------------------- 2 files changed, 40 deletions(-) diff --git a/testing/kuttl/e2e/backup/12--backup-with-force-conflicts.yaml b/testing/kuttl/e2e/backup/12--backup-with-force-conflicts.yaml index 76602e4b..05c37459 100644 --- a/testing/kuttl/e2e/backup/12--backup-with-force-conflicts.yaml +++ b/testing/kuttl/e2e/backup/12--backup-with-force-conflicts.yaml @@ -1,17 +1,3 @@ ---- -# The cluster should not have changed. -apiVersion: postgres-operator.crunchydata.com/v1beta1 -kind: PostgresCluster -metadata: - name: backup-cluster -spec: - backups: - pgbackrest: - manual: - options: - - --type=full - repoName: repo4 - --- apiVersion: kuttl.dev/v1beta1 kind: TestStep diff --git a/testing/kuttl/e2e/restore/31--force-conflicts.yaml b/testing/kuttl/e2e/restore/31--force-conflicts.yaml index 523ca3e8..e37bf97b 100644 --- a/testing/kuttl/e2e/restore/31--force-conflicts.yaml +++ b/testing/kuttl/e2e/restore/31--force-conflicts.yaml @@ -1,29 +1,3 @@ ---- -apiVersion: postgres-operator.crunchydata.com/v1beta1 -kind: PostgresCluster -metadata: - name: restore-cluster -spec: - postgresVersion: 14 - instances: - - name: instance1 - dataVolumeClaimSpec: - accessModes: [ReadWriteOnce] - resources: { requests: { storage: 1Gi } } - backups: - pgbackrest: - repos: - - name: repo2 - volume: - volumeClaimSpec: - accessModes: [ReadWriteOnce] - resources: { requests: { storage: 1Gi } } - restore: - enabled: true - repoName: repo2 - options: - - --db-include=restore-cluster - --- apiVersion: kuttl.dev/v1beta1 kind: TestStep