e2e: add tests to validate cluster name

Validate with both volumes and snapshots

Signed-off-by: Prasanna Kumar Kalever <prasanna.kalever@redhat.com>
This commit is contained in:
Prasanna Kumar Kalever
2022-04-11 17:48:06 +05:30
committed by mergify[bot]
parent c4de0854da
commit 8364493eb9
3 changed files with 224 additions and 0 deletions

View File

@ -70,6 +70,10 @@ const (
rbdPodLabels = "app in (ceph-csi-rbd, csi-rbdplugin, csi-rbdplugin-provisioner)"
exitOneErr = "command terminated with exit code 1"
// cluster Name, set by user.
clusterNameKey = "csi.ceph.com/cluster/name"
defaultClusterName = "k8s-cluster-1"
)
var (