Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
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
Prev Previous commit
Next Next commit
Keep 'beta.kubernetes.io/os: linux' as a hard-coded node selector
  • Loading branch information
krmichel committed Dec 5, 2019
commit a6dd87506a2c661ea770e078ace351ccb92b5613
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