From 145529bdfdb6187a45e4b08864e8144f27e79402 Mon Sep 17 00:00:00 2001 From: Milos Backonja Date: Tue, 5 Dec 2023 09:37:38 +0100 Subject: [PATCH] fix: Moving tolerations, affinity to proper place in chart Signed-off-by: Milos Backonja --- infrastructure/charts/agent/templates/deployment.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/infrastructure/charts/agent/templates/deployment.yaml b/infrastructure/charts/agent/templates/deployment.yaml index 34e3723a22..86878a98f4 100644 --- a/infrastructure/charts/agent/templates/deployment.yaml +++ b/infrastructure/charts/agent/templates/deployment.yaml @@ -212,9 +212,6 @@ spec: value: {{ $value | quote }} {{- end }} {{- if .Values.server.keycloak.bootstrap }} - affinity: - {{- toYaml .Values.affinity | nindent 8 }} - tolerations: {{- toYaml .Values.tolerations | nindent 8 }} volumes: - name: keycloak-bootstrap-script configMap: @@ -224,3 +221,6 @@ spec: - key: "init.sh" path: "init.sh" {{- end }} + affinity: + {{- toYaml .Values.affinity | nindent 8 }} + tolerations: {{- toYaml .Values.tolerations | nindent 8 }}