mirror of
https://github.com/ceph/ceph-csi.git
synced 2024-11-09 16:00:22 +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)"
|
||||
- "--v=5"
|
||||
- "--timeout={{ .Values.provisioner.timeout }}"
|
||||
- "leader-election=true"
|
||||
- "--leader-election=true"
|
||||
env:
|
||||
- name: ADDRESS
|
||||
value: "unix:///csi/{{ .Values.provisionerSocketFile }}"
|
||||
|
@ -56,7 +56,7 @@ spec:
|
||||
args:
|
||||
- "--v=5"
|
||||
- "--csi-address=$(ADDRESS)"
|
||||
- "leader-election=true"
|
||||
- "--leader-election=true"
|
||||
- "--leader-election-type=leases"
|
||||
env:
|
||||
- name: ADDRESS
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user