Skip to content

Commit

Permalink
Disabling leader election for v1.10.0 (#360)
Browse files Browse the repository at this point in the history
  • Loading branch information
adarsh-dell authored and rishabhatdell committed Mar 20, 2024
1 parent f226620 commit 98f91a0
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 14 deletions.
12 changes: 0 additions & 12 deletions charts/csi-isilon/templates/controller.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -276,20 +276,8 @@ spec:
imagePullPolicy: {{ .Values.imagePullPolicy }}
args:
- "--csi-address={{ $driverSockPath }}"
- "--leader-election"
- "--timeout=120s"
- "--v=5"
{{- if hasKey .Values.controller "leaderElection" }}
{{- if hasKey .Values.controller.leaderElection "leaderElectionRenewDeadline" }}
- "--leader-election-renew-deadline={{ .Values.controller.leaderElection.leaderElectionRenewDeadline }}"
{{end}}
{{- if hasKey .Values.controller.leaderElection "leaderElectionLeaseDuration" }}
- "--leader-election-lease-duration={{ .Values.controller.leaderElection.leaderElectionLeaseDuration }}"
{{end}}
{{- if hasKey .Values.controller.leaderElection "leaderElectionLeaseDuration" }}
- "--leader-election-retry-period={{ .Values.controller.leaderElection.leaderElectionRetryPeriod }}"
{{end}}
{{end}}
command: [ "/csi-metadata-retriever" ]
env:
- name: CSI_RETRIEVER_ENDPOINT
Expand Down
2 changes: 0 additions & 2 deletions charts/csi-powermax/templates/controller.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -470,8 +470,6 @@ spec:
value: /app/tls
- name: X_CSI_REVPROXY_WATCH_NAMESPACE
value: {{ .Release.Namespace }}
- name: X_CSI_REVPROXY_IS_LEADER_ENABLED
value: "false"
volumeMounts:
- name: configmap-volume
mountPath: /etc/config/configmap
Expand Down

0 comments on commit 98f91a0

Please sign in to comment.