From 9a7c23f070f651dc8fbbe605177fc2db40bf9c72 Mon Sep 17 00:00:00 2001 From: "M. Mert Yildiran" Date: Thu, 6 Jul 2023 21:28:32 +0300 Subject: [PATCH] :fire: Remove `nodeSelectorTerms` from `hub` and `front` pods --- helm-chart/templates/04-hub-pod.yaml | 7 ------- helm-chart/templates/06-front-pod.yaml | 7 ------- 2 files changed, 14 deletions(-) diff --git a/helm-chart/templates/04-hub-pod.yaml b/helm-chart/templates/04-hub-pod.yaml index f20993ded..8297067f5 100644 --- a/helm-chart/templates/04-hub-pod.yaml +++ b/helm-chart/templates/04-hub-pod.yaml @@ -52,11 +52,4 @@ spec: - effect: NoSchedule operator: Exists {{- end }} -{{- if gt (len .Values.tap.nodeselectorterms) 0}} - affinity: - nodeAffinity: - requiredDuringSchedulingIgnoredDuringExecution: - nodeSelectorTerms: - {{- toYaml .Values.tap.nodeselectorterms | nindent 8 }} -{{- end }} status: {} diff --git a/helm-chart/templates/06-front-pod.yaml b/helm-chart/templates/06-front-pod.yaml index 49abd3504..256da7a36 100644 --- a/helm-chart/templates/06-front-pod.yaml +++ b/helm-chart/templates/06-front-pod.yaml @@ -50,11 +50,4 @@ spec: - effect: NoSchedule operator: Exists {{- end }} -{{- if gt (len .Values.tap.nodeselectorterms) 0}} - affinity: - nodeAffinity: - requiredDuringSchedulingIgnoredDuringExecution: - nodeSelectorTerms: - {{- toYaml .Values.tap.nodeselectorterms | nindent 8 }} -{{- end }} status: {}