Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: leader-election namespace issue #1238

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file modified charts/latest/azuredisk-csi-driver-v1.14.0.tgz
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ spec:
- "--v=2"
- "--timeout=15s"
- "--leader-election"
- "--leader-election-namespace={{ .Release.Namespace }}"
- "--worker-threads={{ .Values.controller.provisionerWorkerThreads }}"
- "--extra-create-metadata=true"
- "--strict-topology=true"
Expand All @@ -72,6 +73,7 @@ spec:
- "-csi-address=$(ADDRESS)"
- "-timeout=600s"
- "-leader-election"
- "--leader-election-namespace={{ .Release.Namespace }}"
- "-worker-threads={{ .Values.controller.attacherWorkerThreads }}"
env:
- name: ADDRESS
Expand All @@ -89,6 +91,7 @@ spec:
args:
- "-csi-address=$(ADDRESS)"
- "-leader-election"
- "--leader-election-namespace={{ .Release.Namespace }}"
- "-v=2"
env:
- name: ADDRESS
Expand All @@ -107,6 +110,7 @@ spec:
- "-csi-address=$(ADDRESS)"
- "-v=2"
- "-leader-election"
- "--leader-election-namespace={{ .Release.Namespace }}"
- '-handle-volume-inuse-error=false'
- '-feature-gates=RecoverVolumeExpansionFailure=true'
- "-timeout=240s"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ spec:
args:
- "--v=2"
- "--leader-election=true"
- "--leader-election-namespace={{ .Release.Namespace }}"
resources: {{- toYaml .Values.snapshot.snapshotController.resources | nindent 12 }}
imagePullPolicy: {{ .Values.snapshot.image.csiSnapshotController.pullPolicy }}
{{- end -}}
4 changes: 4 additions & 0 deletions deploy/csi-azuredisk-controller.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ spec:
- "--v=2"
- "--timeout=15s"
- "--leader-election"
- "--leader-election-namespace=kube-system"
- "--worker-threads=40"
- "--extra-create-metadata=true"
- "--strict-topology=true"
Expand All @@ -60,6 +61,7 @@ spec:
- "-csi-address=$(ADDRESS)"
- "-timeout=600s"
- "-leader-election"
- "--leader-election-namespace=kube-system"
- "-worker-threads=500"
env:
- name: ADDRESS
Expand All @@ -78,6 +80,7 @@ spec:
args:
- "-csi-address=$(ADDRESS)"
- "-leader-election"
- "--leader-election-namespace=kube-system"
- "--v=2"
env:
- name: ADDRESS
Expand All @@ -97,6 +100,7 @@ spec:
- "-csi-address=$(ADDRESS)"
- "-v=2"
- "-leader-election"
- "--leader-election-namespace=kube-system"
- '-handle-volume-inuse-error=false'
- '-feature-gates=RecoverVolumeExpansionFailure=true'
- "-timeout=240s"
Expand Down
1 change: 1 addition & 0 deletions deploy/csi-snapshot-controller.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ spec:
args:
- "--v=2"
- "--leader-election=true"
- "--leader-election-namespace=kube-system"
resources:
limits:
memory: 100Mi
Expand Down
1 change: 0 additions & 1 deletion hack/verify-all.sh
Original file line number Diff line number Diff line change
Expand Up @@ -25,4 +25,3 @@ ${PKG_ROOT}/hack/verify-yamllint.sh
${PKG_ROOT}/hack/verify-boilerplate.sh
${PKG_ROOT}/hack/verify-helm-chart-files.sh
${PKG_ROOT}/hack/verify-helm-chart.sh
${PKG_ROOT}/hack/verify-spelling.sh