helm: add helm charts E2E

This PR adds the support for helm
installation, and cephcsi helm charts
deployment and teardown and also runs E2E
on for helm charts.

Add socat to provide port forwadring access for helm

Signed-off-by: Madhu Rajanna <madhupr007@gmail.com>
This commit is contained in:
Madhu Rajanna
2020-04-01 12:50:43 +05:30
committed by mergify[bot]
parent b2dfcae802
commit d09ffbd6de
10 changed files with 240 additions and 6 deletions

View File

@ -131,6 +131,8 @@ var _ = Describe("RBD", func() {
AfterEach(func() {
if CurrentGinkgoTestDescription().Failed {
// log pods created by helm chart
logsCSIPods("app=ceph-csi-rbd", c)
// log provisoner
logsCSIPods("app=csi-rbdplugin-provisioner", c)
// log node plugin
@ -382,7 +384,7 @@ var _ = Describe("RBD", func() {
}
// delete rbd nodeplugin pods
err = deletePodWithLabel("app=csi-rbdplugin")
err = deletePodWithLabel("app=csi-rbdplugin", cephCSINamespace, false)
if err != nil {
Fail(err.Error())
}