Skip to content

Commit

Permalink
Merge pull request #1732 from monicastanciu/daemonset-enablement
Browse files Browse the repository at this point in the history
Manage DaemonSets enablement
  • Loading branch information
k8s-ci-robot authored Sep 14, 2023
2 parents c45213d + c946884 commit 20b4c2f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions charts/aws-ebs-csi-driver/templates/_node.tpl
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{{- define "node" }}
{{- if or (eq (default true .Values.node.enableLinux) true) }}
kind: DaemonSet
apiVersion: apps/v1
metadata:
Expand Down Expand Up @@ -226,3 +227,4 @@ spec:
{{- toYaml . | nindent 8 }}
{{- end }}
{{- end }}
{{- end }}
2 changes: 2 additions & 0 deletions charts/aws-ebs-csi-driver/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -336,6 +336,8 @@ node:
name: ebs-csi-node-sa
annotations: {}
automountServiceAccountToken: true
# Enable the linux daemonset creation
enableLinux: true
enableWindows: false
# The "maximum number of attachable volumes" per node
volumeAttachLimit:
Expand Down

0 comments on commit 20b4c2f

Please sign in to comment.