From 9d0a59bb05d3b1413dbf4f8c75a145adbb4df2b5 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 5233c0002de..2c195461b1b 100644 --- a/e2e/upgrade-cephfs.go +++ b/e2e/upgrade-cephfs.go @@ -72,6 +72,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) @@ -148,6 +149,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 {