mirror of
https://github.com/ceph/ceph-csi.git
synced 2025-06-14 02:43:36 +00:00
e2e: remove enableTopologyInTemplate method
This commit removes `enableTopologyInTemplate` method as this is not needed anymore. Signed-off-by: Praveen M <m.praveen@ibm.com>
This commit is contained in:
@ -240,9 +240,6 @@ type yamlResourceNamespaced struct {
|
||||
// set the number of replicas in a Deployment to 1.
|
||||
oneReplica bool
|
||||
|
||||
// enable topology support (for RBD)
|
||||
enableTopology bool
|
||||
|
||||
// enable read affinity support (for RBD)
|
||||
enableReadAffinity bool
|
||||
}
|
||||
@ -257,10 +254,6 @@ func (yrn *yamlResourceNamespaced) Do(action kubectlAction) error {
|
||||
data = oneReplicaDeployYaml(data)
|
||||
}
|
||||
|
||||
if yrn.enableTopology {
|
||||
data = enableTopologyInTemplate(data)
|
||||
}
|
||||
|
||||
if yrn.domainLabel != "" {
|
||||
data = addTopologyDomainsToDSYaml(data, yrn.domainLabel)
|
||||
}
|
||||
|
Reference in New Issue
Block a user