Skip to content

Commit

Permalink
fix-nodeselector-affinity-tolerations-indentation (#782)
Browse files Browse the repository at this point in the history
  • Loading branch information
georgesouzafarias authored Apr 24, 2024
1 parent 427ad38 commit 0f4c5cf
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions deployments/helm/templates/daemon-set.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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:
Expand Down

0 comments on commit 0f4c5cf

Please sign in to comment.