Gallardot commented on code in PR #16058:
URL: 
https://github.com/apache/dolphinscheduler/pull/16058#discussion_r1619083704


##########
deploy/kubernetes/dolphinscheduler/templates/statefulset-dolphinscheduler-worker.yaml:
##########
@@ -142,9 +142,11 @@ spec:
         - name: {{ include "dolphinscheduler.fullname" . }}-worker-logs
           emptyDir: {}
         {{- end }}
+        {{- if .Values.worker.enableCustomizedConfig }}
         - name: worker-config-volume
           configMap:
             name: {{ include "dolphinscheduler.fullname" . }}-worker
+        {{- end -}}

Review Comment:
   There is a difference between `{{ - end }}` and `{{- end -}}`, and in this 
case, you should use `{{- end }}`.
   ```suggestion
           {{- end }}
   ```



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to