forked from cloudnative-pg/cloudnative-pg
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
test(database): add e2e case of declarative database with delete recl…
…aim policy (cloudnative-pg#5774) Closes cloudnative-pg#5680 Signed-off-by: Gabriele Quaresima <[email protected]> Signed-off-by: Jaime Silvela <[email protected]> Signed-off-by: Niccolò Fei <[email protected]> Signed-off-by: Marco Nenciarini <[email protected]> Co-authored-by: Jaime Silvela <[email protected]> Co-authored-by: Niccolò Fei <[email protected]> Co-authored-by: Marco Nenciarini <[email protected]>
- Loading branch information
1 parent
e5ab643
commit cdc28e0
Showing
6 changed files
with
151 additions
and
95 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
13 changes: 13 additions & 0 deletions
13
tests/e2e/fixtures/declarative_databases/database-with-delete-reclaim-policy.yaml.template
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
apiVersion: postgresql.cnpg.io/v1 | ||
kind: Database | ||
metadata: | ||
name: db-declarative-delete | ||
spec: | ||
name: declarative | ||
owner: app | ||
lc_ctype: C | ||
lc_collate: C | ||
encoding: UTF8 | ||
databaseReclaimPolicy: delete | ||
cluster: | ||
name: cluster-with-declarative-databases |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters