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: add e2e case of declarative database with delete reclaim policy
Signed-off-by: Gabriele Quaresima <[email protected]>
- Loading branch information
1 parent
25281f5
commit 9720397
Showing
3 changed files
with
103 additions
and
15 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
10 changes: 10 additions & 0 deletions
10
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,10 @@ | ||
apiVersion: postgresql.cnpg.io/v1 | ||
kind: Database | ||
metadata: | ||
name: db-declarative-delete | ||
spec: | ||
name: declarative | ||
owner: app | ||
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