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)" - "--csi-address=$(ADDRESS)"
- "--v=5" - "--v=5"
- "--timeout={{ .Values.provisioner.timeout }}" - "--timeout={{ .Values.provisioner.timeout }}"
- "leader-election=true" - "--leader-election=true"
env: env:
- name: ADDRESS - name: ADDRESS
value: "unix:///csi/{{ .Values.provisionerSocketFile }}" value: "unix:///csi/{{ .Values.provisionerSocketFile }}"

View File

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

View File

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