From 446c8c926442acd5bd5a1641ef3a3314e57329bb Mon Sep 17 00:00:00 2001 From: Marcel Lauhoff Date: Mon, 24 Oct 2022 16:55:38 +0200 Subject: [PATCH] e2e: Deploy vault as part of the Ceph FS upgrade suite Deploy vault, analogue to the RBD upgrade suite to have the ceph-csi-encryption-kms-config map ready when dependent deployments/daemonsets are created. Signed-off-by: Marcel Lauhoff --- e2e/upgrade-cephfs.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/e2e/upgrade-cephfs.go b/e2e/upgrade-cephfs.go index 6eb233972..83a19564c 100644 --- a/e2e/upgrade-cephfs.go +++ b/e2e/upgrade-cephfs.go @@ -74,6 +74,7 @@ var _ = Describe("CephFS Upgrade Testing", func() { if err != nil { e2elog.Failf("failed to getwd: %v", err) } + deployVault(f.ClientSet, deployTimeout) err = upgradeAndDeployCSI(upgradeVersion, "cephfs") if err != nil { e2elog.Failf("failed to upgrade csi: %v", err) @@ -150,6 +151,7 @@ var _ = Describe("CephFS Upgrade Testing", func() { if err != nil { e2elog.Failf("failed to delete storageclass: %v", err) } + deleteVault() if deployCephFS { deleteCephfsPlugin() if cephCSINamespace != defaultNs {