diff --git a/dev/helm/templates/deployment.yaml b/dev/helm/templates/deployment.yaml
index 853df0067792806b3764ed22801964c83676c322..d7cef659eb5a0274c77f9d1417c4612faa0f187a 100644
--- a/dev/helm/templates/deployment.yaml
+++ b/dev/helm/templates/deployment.yaml
@@ -46,6 +46,7 @@ spec:
                   curl -k -L {{ .Values.customFavicons.x192 }} -o /wiki/assets/favicons/android-chrome-192x192.png && \
                   curl -k -L {{ .Values.customFavicons.x32 }} -o /wiki/assets/favicons/favicon-32x32.png && \
                   curl -k -L {{ .Values.customFavicons.favicon }} -o /wiki/assets/favicon.ico
+          {{- end }}
           securityContext:
             {{- toYaml .Values.securityContext | nindent 12 }}
           image: "{{ .Values.image.repository }}:{{ default "latest" .Values.image.tag }}"