Fix leader election flag in deployment files

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

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

View File

@ -53,7 +53,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

@ -56,7 +56,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