Skip to content

Commit

Permalink
new changes
Browse files Browse the repository at this point in the history
  • Loading branch information
sipriyaa committed Oct 18, 2024
1 parent a90d979 commit 13fea09
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions tests/e2e/csi_snapshot_basic.go
Original file line number Diff line number Diff line change
Expand Up @@ -7668,6 +7668,28 @@ var _ = ginkgo.Describe("Volume Snapshot Basic Test", func() {
gomega.Expect(err).NotTo(gomega.HaveOccurred())
})

/*
Password Rotation
Workflow Path: PVC → Snapshot(vols-1) → Password Rotation → Snapshot(vols-2, vols-3) → RestoreVols
Steps:
1. Create a PVC using the storage class (storage policy) tagged to the supervisor namespace
2. Wait for PVC to reach the Bound state.
3. Get VolumeSnapshotClass "volumesnapshotclass-delete" from supervisor cluster
4. Create a volume snapshot-1 using the above snapshot class (step #3) and PVC (step #1) as a source.
5. Snapshot Verification: Execute and verify the steps mentioned in the Create snapshot mandatory checks
6. Perform password rotation on the supervisor cluster.
7. Create a volume snapshot-2 using the above snapshot class (step #3) and PVC (step #1) as a source.
8. Snapshot Verification: Execute and verify the steps mentioned in the Create snapshot mandatory checks
9. Create a volume snapshot-3 using the above snapshot class (step #3) and PVC (step #1) as a source.
10. Snapshot Verification: Execute and verify the steps mentioned in the Create snapshot mandatory checks
11. Create PVC from the snapshot created in step #4
12. Wait for PVC to reach the Bound state.
13. Cleanup: Execute and verify the steps mentioned in the Delete snapshot mandatory checks
*/

ginkgo.It("[supervsior-snapshot] Supervisor password rotation during snapshot creation", ginkgo.Label(p1, block,
wcp, snapshot, disruptive), func() {

Expand Down

0 comments on commit 13fea09

Please sign in to comment.