From 59a7605ad839984b461bd3c53b5cee450621e0d0 Mon Sep 17 00:00:00 2001 From: Stepan Kazakov Date: Mon, 26 Jun 2023 00:00:53 +0300 Subject: [PATCH] feat: add nodeSelector for provisioner --- deploy/helm/templates/provisioner.yaml | 4 ++++ deploy/helm/values.yaml | 2 ++ 2 files changed, 6 insertions(+) diff --git a/deploy/helm/templates/provisioner.yaml b/deploy/helm/templates/provisioner.yaml index 82645a0..6aa5e2f 100644 --- a/deploy/helm/templates/provisioner.yaml +++ b/deploy/helm/templates/provisioner.yaml @@ -77,6 +77,10 @@ spec: {{- with .Values.tolerations.controller }} {{- toYaml . | nindent 8 }} {{- end }} + {{- with .Values.nodeSelector }} + nodeSelector: + {{- toYaml . | nindent 8 }} + {{- end }} containers: - name: csi-provisioner image: {{ .Values.images.provisioner }} diff --git a/deploy/helm/values.yaml b/deploy/helm/values.yaml index 38534db..19855ad 100644 --- a/deploy/helm/values.yaml +++ b/deploy/helm/values.yaml @@ -43,4 +43,6 @@ tolerations: node: [] controller: [] +nodeSelector: {} + kubeletPath: /var/lib/kubelet