Skip to content

Commit

Permalink
Keep 'beta.kubernetes.io/os: linux' as a hard-coded node selector
Browse files Browse the repository at this point in the history
  • Loading branch information
krmichel committed Dec 5, 2019
1 parent 5419c88 commit a6dd875
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
5 changes: 3 additions & 2 deletions aws-ebs-csi-driver/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,11 @@ spec:
{{ toYaml .Values.podAnnotations | indent 8 }}
{{- end }}
spec:
{{- with .Values.nodeSelector }}
nodeSelector:
beta.kubernetes.io/os: linux
{{- with .Values.nodeSelector }}
{{ toYaml . | indent 8 }}
{{- end }}
{{- end }}
serviceAccountName: ebs-csi-controller-sa
priorityClassName: system-cluster-critical
{{- with .Values.affinity }}
Expand Down
3 changes: 1 addition & 2 deletions aws-ebs-csi-driver/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,7 @@ resources: {}
# cpu: 100m
# memory: 128Mi

nodeSelector:
beta.kubernetes.io/os: linux
nodeSelector: {}

tolerations: []

Expand Down

0 comments on commit a6dd875

Please sign in to comment.