File tree Expand file tree Collapse file tree 3 files changed +13
-5
lines changed
Expand file tree Collapse file tree 3 files changed +13
-5
lines changed Original file line number Diff line number Diff line change 2424{{- end }}
2525 nodeSelector :
2626 kubernetes.io/os : windows
27+ {{- with .Values.node.nodeSelector }}
28+ {{ toYaml . | indent 8 }}
29+ {{- end }}
30+ {{- with .Values.node.affinity }}
31+ affinity :
32+ {{ toYaml . | indent 8 }}
33+ {{- end }}
2734 priorityClassName : system-node-critical
28- serviceAccountName : csi-smb- node-sa
35+ serviceAccountName : {{ .Values.serviceAccount. node }}
2936 {{- include "smb.pullSecrets" . | indent 6 }}
3037 containers :
3138 - name : liveness-probe
Original file line number Diff line number Diff line change @@ -27,15 +27,16 @@ spec:
2727 spec :
2828 hostNetwork : true
2929 dnsPolicy : {{ .Values.linux.dnsPolicy }}
30- serviceAccountName : csi-smb- node-sa
30+ serviceAccountName : {{ .Values.serviceAccount. node }}
3131 nodeSelector :
3232 kubernetes.io/os : linux
3333{{- with .Values.node.nodeSelector }}
3434{{ toYaml . | indent 8 }}
3535{{- end }}
36- {{- if .Values.node.affinity }}
37- {{- toYaml .Values.node.affinity | nindent 8 }}
38- {{- end }}
36+ {{- with .Values.node.affinity }}
37+ affinity :
38+ {{ toYaml . | indent 8 }}
39+ {{- end }}
3940 priorityClassName : {{ .Values.priorityClassName | quote }}
4041{{- with .Values.linux.tolerations }}
4142 tolerations :
You can’t perform that action at this time.
0 commit comments