From e05f9698ea63404dadb0c8ba56f592360d978382 Mon Sep 17 00:00:00 2001 From: Andras Elso Date: Thu, 10 Oct 2024 00:36:43 +0200 Subject: [PATCH] Add nodeSelector and affinity to deployment Signed-off-by: Andras Elso --- charts/piraeus/templates/deployment.yaml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/charts/piraeus/templates/deployment.yaml b/charts/piraeus/templates/deployment.yaml index 84cf2948..b3b9f817 100644 --- a/charts/piraeus/templates/deployment.yaml +++ b/charts/piraeus/templates/deployment.yaml @@ -93,8 +93,12 @@ spec: serviceAccountName: {{ include "piraeus-operator.serviceAccountName" . }} terminationGracePeriodSeconds: 10 priorityClassName: {{ .Values.priorityClassName | default "system-cluster-critical" }} + nodeSelector: + {{- toYaml .Values.nodeSelector | nindent 8 }} tolerations: {{- toYaml .Values.tolerations | nindent 8 }} + affinity: + {{- toYaml .Values.affinity | nindent 8 }} volumes: - name: cert secret: