Skip to content

Commit

Permalink
Merge pull request #888 from andyzhangx/tolerations2
Browse files Browse the repository at this point in the history
fix: add snapshot controller tolerations
  • Loading branch information
andyzhangx committed Jun 15, 2021
2 parents 03d1fd3 + f1e0726 commit 72117ce
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 4 deletions.
Binary file modified charts/latest/azuredisk-csi-driver-v1.4.0.tgz
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,10 @@ spec:
nodeSelector:
kubernetes.io/os: linux
priorityClassName: system-cluster-critical
{{- with .Values.controller.tolerations }}
tolerations:
- key: "node-role.kubernetes.io/master"
operator: "Equal"
value: "true"
effect: "NoSchedule"
{{ toYaml . | indent 8 }}
{{- end }}
{{- include "azuredisk.pullSecrets" . | indent 6 }}
containers:
- name: csi-snapshot-controller
Expand Down
4 changes: 4 additions & 0 deletions deploy/csi-snapshot-controller.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,10 @@ spec:
operator: "Equal"
value: "true"
effect: "NoSchedule"
- key: "node-role.kubernetes.io/controlplane"
operator: "Equal"
value: "true"
effect: "NoSchedule"
containers:
- name: csi-snapshot-controller
image: mcr.microsoft.com/oss/kubernetes-csi/snapshot-controller:v3.0.3
Expand Down

0 comments on commit 72117ce

Please sign in to comment.