Skip to content

Commit

Permalink
Merge pull request #51 from bliemli/nodeselector
Browse files Browse the repository at this point in the history
Allow node selector to be defined on node daemonset
  • Loading branch information
alakae authored Feb 2, 2023
2 parents 06300ce + 0a42731 commit ca0066b
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion charts/csi-cloudscale/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ apiVersion: v2
name: csi-cloudscale
description: A Container Storage Interface Driver for cloudscale.ch volumes.
type: application
version: 1.2.1
version: 1.3.0
appVersion: "3.5.0"
home: https://github.com/cloudscale-ch/csi-cloudscale
sources:
Expand Down
4 changes: 4 additions & 0 deletions charts/csi-cloudscale/templates/daemonset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,10 @@ spec:
mountPath: /dev
- name: tmpfs
mountPath: /tmp
{{- with .Values.node.nodeSelector }}
nodeSelector:
{{ toYaml . | indent 8 }}
{{- end }}
{{- with .Values.node.tolerations }}
tolerations:
{{ toYaml . | indent 8 }}
Expand Down
1 change: 1 addition & 0 deletions charts/csi-cloudscale/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,7 @@ node:
repository: cloudscalech/cloudscale-csi-plugin
tag: v3.5.0
pullPolicy: IfNotPresent
nodeSelector: {}
tolerations: []
serviceAccountName:
resources: {}
Expand Down

0 comments on commit ca0066b

Please sign in to comment.