diff --git a/templates/beat/deployment.yaml b/templates/beat/deployment.yaml index af9d6cb..e947856 100644 --- a/templates/beat/deployment.yaml +++ b/templates/beat/deployment.yaml @@ -60,17 +60,17 @@ spec: name: {{ include "django.fullname" . }} - configMapRef: name: {{ include "django.fullname" . }} - {{- with .Values.beat.nodeSelector }} - nodeSelector: - {{- toYaml . | nindent 8 }} - {{- end }} - {{- with .Values.beat.affinity }} - affinity: - {{- toYaml . | nindent 8 }} - {{- end }} - {{- with .Values.beat.tolerations }} - tolerations: - {{- toYaml . | nindent 8 }} - {{- end }} + {{- with .Values.beat.nodeSelector }} + nodeSelector: + {{- toYaml . | nindent 8 }} + {{- end }} + {{- with .Values.beat.affinity }} + affinity: + {{- toYaml . | nindent 8 }} + {{- end }} + {{- with .Values.beat.tolerations }} + tolerations: + {{- toYaml . | nindent 8 }} + {{- end }} {{- end }} {{- end }}