Fix leader election flag in deployment files

Fixes: https://github.com/ceph/ceph-csi/issues/748

Signed-off-by: Madhu Rajanna <madhupr007@gmail.com>
This commit is contained in:
Madhu Rajanna 2019-12-17 16:50:37 +05:30 committed by mergify[bot]
parent f281eba475
commit b849b7daaa
3 changed files with 3 additions and 3 deletions

View File

@ -71,7 +71,7 @@ spec:
- "--csi-address=$(ADDRESS)"
- "--v=5"
- "--timeout={{ .Values.provisioner.timeout }}"
- "leader-election=true"
- "--leader-election=true"
env:
- name: ADDRESS
value: "unix:///csi/{{ .Values.provisionerSocketFile }}"

View File

@ -70,7 +70,7 @@ spec:
args:
- "--v=5"
- "--csi-address=$(ADDRESS)"
- "leader-election=true"
- "--leader-election=true"
- "--leader-election-type=leases"
env:
- name: ADDRESS

View File

@ -57,7 +57,7 @@ spec:
- "--csi-address=$(ADDRESS)"
- "--v=5"
- "--timeout=150s"
- "leader-election=true"
- "--leader-election=true"
env:
- name: ADDRESS
value: unix:///csi/csi-provisioner.sock