Remove old csi-attacher flag and fix RBAC for Cinder CSI (#6358)

Add proper RBAC for new csi-attacher version
This commit is contained in:
Steven Reitsma
2020-07-13 13:48:32 +02:00
committed by GitHub
parent 05b9f14b76
commit deca5ec903
2 changed files with 5 additions and 3 deletions

View File

@@ -27,7 +27,6 @@ spec:
- "--csi-address=$(ADDRESS)"
{% if cinder_csi_controller_replicas is defined and cinder_csi_controller_replicas > 1 %}
- --leader-election
- --leader-election-type=leases
- --leader-election-namespace=kube-system
{% endif %}
env: