deploy: set topology=false in provisioner sidecar

with csi-provisioner v2.x the topology based
provisioning will not have any backward compatibility
with older version of kubernetes, if the nodes are
not labeled with topology keys, the pvc creation
is going to get fail with error `accessibility
requirements: no available topology found`, disabling
the topology based provisioning by default, if user want
to use it he can always enable it.

Signed-off-by: Madhu Rajanna <madhupr007@gmail.com>
This commit is contained in:
Madhu Rajanna 2020-12-08 16:04:54 +05:30 committed by mergify[bot]
parent 1c469fa522
commit e3d1ba7703

View File

@ -49,7 +49,8 @@ spec:
- "--timeout=150s"
- "--retry-interval-start=500ms"
- "--leader-election=true"
- "--feature-gates=Topology=true"
# set it to true to use topology based provisioning
- "--feature-gates=Topology=false"
env:
- name: ADDRESS
value: unix:///csi/csi-provisioner.sock