Mighten opened a new pull request, #16477:
URL: https://github.com/apache/dolphinscheduler/pull/16477
## Purpose of the pull request
This pull request adds user-customized YAML support for Kubernetes Pod task.
## Brief change log
- *Added `YamlUtils` with `jackson-dataformat-yaml`(new dependency in
`pom.xml`)*
- *Updated `K8sUtils` with default namespace injection*
- *Added user-customized YAML task mode, with frontend and backend*
## Verify this pull request
This change added tests and can be verified as follows:
- *Added `YamlUtilsTest` to verify `YamlUtils`*
- *Added `K8sUtilsTest` to verify updates for `K8sUtils`*
- *Manually verified the user-customized YAML task mode using both the web
page and IDE output:*
1. Switch on the **Custom Template** mode, and paste Kubernetes *YAML*
file content:

*Conclusion*: The user-customized YAML mode works correctly in the
frontend.
2. **Online**, **Start** the current workflow and *review* the log of
the current task instance:

*Conclusion*: The user-customized YAML mode works correctly in the
backend.
3. Review the pod output parameters *parsed from the log* in the IDE
console (these are not listed in the task instance log window):

*Conclusion*: The user-customized YAML mode correctly parses the
output values from the log.
--
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]