mirror of
https://github.com/ceph/ceph-csi.git
synced 2024-12-18 11:00:25 +00:00
e2e: remove vsg flag present in older snapshotter
Remove the vsg flag present in the older snapshotter which is meant only for the Alpha Release and we are no longer installing Alpha CRD. Signed-off-by: Madhu Rajanna <madhupr007@gmail.com>
This commit is contained in:
parent
21d639df20
commit
a88f86e9a4
@ -252,6 +252,9 @@ func (yrn *yamlResourceNamespaced) Do(action kubectlAction) error {
|
|||||||
|
|
||||||
data = replaceLogLevelInTemplate(data)
|
data = replaceLogLevelInTemplate(data)
|
||||||
|
|
||||||
|
// disable VGS alpha feature, TODO: remove this in next release (3.14.0)
|
||||||
|
data = disableVGSAlphaCLIArg(data)
|
||||||
|
|
||||||
if yrn.oneReplica {
|
if yrn.oneReplica {
|
||||||
data = oneReplicaDeployYaml(data)
|
data = oneReplicaDeployYaml(data)
|
||||||
}
|
}
|
||||||
|
@ -828,6 +828,10 @@ func checkMountOptions(pvcPath, appPath string, f *framework.Framework, mountFla
|
|||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
|
|
||||||
|
func disableVGSAlphaCLIArg(template string) string {
|
||||||
|
return strings.ReplaceAll(template, "- \"--enable-volume-group-snapshots=true\"", "")
|
||||||
|
}
|
||||||
|
|
||||||
func addTopologyDomainsToDSYaml(template, labels string) string {
|
func addTopologyDomainsToDSYaml(template, labels string) string {
|
||||||
return strings.ReplaceAll(template, "# - \"--domainlabels=failure-domain/region,failure-domain/zone\"",
|
return strings.ReplaceAll(template, "# - \"--domainlabels=failure-domain/region,failure-domain/zone\"",
|
||||||
"- \"--domainlabels="+labels+"\"")
|
"- \"--domainlabels="+labels+"\"")
|
||||||
|
Loading…
Reference in New Issue
Block a user