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 <marcel.lauhoff@suse.com>
This commit is contained in:
Marcel Lauhoff 2022-10-24 16:55:38 +02:00 committed by mergify[bot]
parent 0bf8646340
commit 446c8c9264

View File

@ -74,6 +74,7 @@ var _ = Describe("CephFS Upgrade Testing", func() {
if err != nil { if err != nil {
e2elog.Failf("failed to getwd: %v", err) e2elog.Failf("failed to getwd: %v", err)
} }
deployVault(f.ClientSet, deployTimeout)
err = upgradeAndDeployCSI(upgradeVersion, "cephfs") err = upgradeAndDeployCSI(upgradeVersion, "cephfs")
if err != nil { if err != nil {
e2elog.Failf("failed to upgrade csi: %v", err) e2elog.Failf("failed to upgrade csi: %v", err)
@ -150,6 +151,7 @@ var _ = Describe("CephFS Upgrade Testing", func() {
if err != nil { if err != nil {
e2elog.Failf("failed to delete storageclass: %v", err) e2elog.Failf("failed to delete storageclass: %v", err)
} }
deleteVault()
if deployCephFS { if deployCephFS {
deleteCephfsPlugin() deleteCephfsPlugin()
if cephCSINamespace != defaultNs { if cephCSINamespace != defaultNs {