From 0f4c5cf3819390b18e10acb4eacbcffedcccdf73 Mon Sep 17 00:00:00 2001 From: George Farias Date: Wed, 24 Apr 2024 04:33:23 -0300 Subject: [PATCH] fix-nodeselector-affinity-tolerations-indentation (#782) --- deployments/helm/templates/daemon-set.yml | 24 +++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/deployments/helm/templates/daemon-set.yml b/deployments/helm/templates/daemon-set.yml index c9b1da198..98a92861e 100644 --- a/deployments/helm/templates/daemon-set.yml +++ b/deployments/helm/templates/daemon-set.yml @@ -57,18 +57,6 @@ spec: valueFrom: {{- tpl (toYaml $value) $ | nindent 16 }} {{- end }} - {{- with .Values.nodeSelector }} - nodeSelector: - {{- toYaml . | nindent 12 }} - {{- end }} - {{- with .Values.affinity }} - affinity: - {{- tpl (toYaml .) $ | nindent 12 }} - {{- end }} - {{- with .Values.tolerations }} - tolerations: - {{- toYaml . | nindent 12 }} - {{- end }} volumeMounts: - mountPath: /etc/beyla/config name: beyla-config @@ -80,6 +68,18 @@ spec: {{- toYaml .Values.image.pullSecrets | nindent 4 }} {{- end }} {{- end }} + {{- with .Values.nodeSelector }} + nodeSelector: + {{- toYaml . | nindent 8 }} + {{- end }} + {{- with .Values.affinity }} + affinity: + {{- tpl (toYaml .) $ | nindent 8 }} + {{- end }} + {{- with .Values.tolerations }} + tolerations: + {{- toYaml . | nindent 8 }} + {{- end }} volumes: - name: beyla-config configMap: