Skip to content

Commit 4bc26f4

Browse files
authored
Merge pull request #492 from aymenfurter/fix/490-node-affinity
fix: fix affinity indent error 🐞
2 parents 4f479b0 + 610ee42 commit 4bc26f4

File tree

3 files changed

+5
-4
lines changed

3 files changed

+5
-4
lines changed

charts/index.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ entries:
55
appVersion: latest
66
created: "2022-05-28T11:16:42.768748496Z"
77
description: SMB CSI Driver for Kubernetes
8-
digest: 26b4155e0690cf809c0c24cfdef4b3595dbfd108f412af4cc21c78879b0c6ac9
8+
digest: 3c3eaae47e52409110831b4108e78842f60353c5abc920292970f58e25261ec4
99
name: csi-driver-smb
1010
urls:
1111
- https://raw.githubusercontent.com/kubernetes-csi/csi-driver-smb/master/charts/latest/csi-driver-smb-v1.8.0.tgz
-9 Bytes
Binary file not shown.

charts/latest/csi-driver-smb/templates/csi-smb-node.yaml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,10 @@ spec:
2525
{{ toYaml .Values.podAnnotations | indent 8 }}
2626
{{- end }}
2727
spec:
28+
{{- with .Values.node.affinity }}
29+
affinity:
30+
{{ toYaml . | indent 8 }}
31+
{{- end }}
2832
hostNetwork: true
2933
dnsPolicy: {{ .Values.linux.dnsPolicy }}
3034
serviceAccountName: csi-smb-node-sa
@@ -33,9 +37,6 @@ spec:
3337
{{- with .Values.node.nodeSelector }}
3438
{{ toYaml . | indent 8 }}
3539
{{- end }}
36-
{{- if .Values.node.affinity }}
37-
{{- toYaml .Values.node.affinity | nindent 8 }}
38-
{{- end }}
3940
priorityClassName: {{ .Values.priorityClassName | quote }}
4041
{{- with .Values.linux.tolerations }}
4142
tolerations:

0 commit comments

Comments
 (0)