From 8ebffc75c76985c43336e219b603aa96e5bdc646 Mon Sep 17 00:00:00 2001 From: zhengxinwei-f Date: Fri, 19 Jan 2024 10:03:24 +0800 Subject: fix the indentation bug of keadm init Signed-off-by: zhengxinwei-f --- .../cloudcore/templates/daemonset_mosquitto.yaml | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/manifests/charts/cloudcore/templates/daemonset_mosquitto.yaml b/manifests/charts/cloudcore/templates/daemonset_mosquitto.yaml index 85561309b..3c05b8fd0 100644 --- a/manifests/charts/cloudcore/templates/daemonset_mosquitto.yaml +++ b/manifests/charts/cloudcore/templates/daemonset_mosquitto.yaml @@ -28,15 +28,15 @@ spec: hostPath: path: /var/lib/kubeedge/mqtt/data containers: - - name: edge-eclipse-mosquitto - image: {{ .Values.mosquitto.image.repository }}:{{ .Values.mosquitto.image.tag }} - imagePullPolicy: {{ .Values.mosquitto.image.pullPolicy }} - {{- with .Values.mosquitto.resources }} - resources: {{ toYaml . | nindent 10 }} - {{- end }} - volumeMounts: - - name: mqtt-data-path - mountPath: /mosquitto/data + - name: edge-eclipse-mosquitto + image: {{ .Values.mosquitto.image.repository }}:{{ .Values.mosquitto.image.tag }} + imagePullPolicy: {{ .Values.mosquitto.image.pullPolicy }} + {{- with .Values.mosquitto.resources }} + resources: {{ toYaml . | nindent 10 }} + {{- end }} + volumeMounts: + - name: mqtt-data-path + mountPath: /mosquitto/data {{- with .Values.mosquitto.affinity }} affinity: {{ toYaml . | nindent 8 }} {{- end }} -- cgit v1.2.3