From ab4b80fe93b8d79102dc124015b2a45eda113df3 Mon Sep 17 00:00:00 2001 From: "Dmitry K. Anisimov" Date: Mon, 28 Aug 2023 17:40:25 +0300 Subject: [PATCH] feat: add nodeSelector to helm chart --- helm/charts/vector-operator/templates/deployment.yaml | 4 ++++ helm/charts/vector-operator/values.yaml | 2 ++ 2 files changed, 6 insertions(+) diff --git a/helm/charts/vector-operator/templates/deployment.yaml b/helm/charts/vector-operator/templates/deployment.yaml index bce2b97..18ef83e 100644 --- a/helm/charts/vector-operator/templates/deployment.yaml +++ b/helm/charts/vector-operator/templates/deployment.yaml @@ -26,6 +26,10 @@ spec: labels: {{- include "chart.selectorLabels" . | nindent 8 }} spec: + {{- with .Values.nodeSelector }} + nodeSelector: + {{- toYaml . | nindent 8 }} + {{- end }} {{- with .Values.imagePullSecrets }} imagePullSecrets: {{- toYaml . | nindent 8 }} diff --git a/helm/charts/vector-operator/values.yaml b/helm/charts/vector-operator/values.yaml index cbe0a66..72599c3 100644 --- a/helm/charts/vector-operator/values.yaml +++ b/helm/charts/vector-operator/values.yaml @@ -21,6 +21,8 @@ strategy: {} imagePullSecrets: [] +nodeSelector: {} + securityContext: {} # allowPrivilegeEscalation: false # runAsGroup: 1000