mirror of
https://github.com/ceph/ceph-csi.git
synced 2024-11-17 20:00:23 +00:00
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:
parent
0bf8646340
commit
446c8c9264
@ -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 {
|
||||||
|
Loading…
Reference in New Issue
Block a user