mirror of
https://github.com/ceph/ceph-csi.git
synced 2024-11-23 23:00:19 +00:00
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:
parent
cf9a10c7d0
commit
7912ec0040
@ -53,7 +53,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 }}"
|
||||||
|
@ -56,7 +56,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
|
||||||
|
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user