csi: explicitly set Topology feature-gate
issue:
external-provisioner (v5) enabled topology feature-gate by default
and the current implementation in Rook uses a conditional block to
enable the topology feature gate. This approach now does not directly
reflect the state of the `CSI_ENABLE_TOPOLOGY`.
fix:
replacing the conditional block with a direct use of the
`CSI_ENABLE_TOPOLOGY` for flag value.
Signed-off-by: Praveen M <m.praveen@ibm.com>
(cherry picked from commit e30e5e881f)
This commit is contained in:
1 parent
36a318edb9
commit
2ea52ef139
1 file changed
+1
-3
@@ -38,9 +38,7 @@ spec:
|
||||
- "--extra-create-metadata=true"
|
||||
- "--prevent-volume-mode-conversion=true"
|
||||
- "--feature-gates=HonorPVReclaimPolicy=true"
|
||||
{{ if .EnableCSITopology }}
|
||||
- "--feature-gates=Topology=true"
|
||||
{{ end }}
|
||||
- "--feature-gates=Topology={{ .EnableCSITopology }}"
|
||||
{{ if .KubeApiBurst }}
|
||||
- "--kube-api-burst={{ .KubeApiBurst }}"
|
||||
{{ end }}
|
||||
|
||||
Reference in new issue
Block a user