Open guqing opened 6 days ago
[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by: Once this PR has been reviewed and has the lgtm label, please ask for approval from guqing. For more information see the Kubernetes Code Review Process.
The full list of commands accepted by this bot can be found here.
@ruibaby 帮忙适配一下前端部分
Attention: Patch coverage is 79.20000%
with 26 lines
in your changes missing coverage. Please review.
Project coverage is 58.26%. Comparing base (
6cd8dc8
) to head (a634065
). Report is 72 commits behind head on main.
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
Issues
0 New issues
0 Accepted issues
Measures
0 Security Hotspots
0.0% Coverage on New Code
0.0% Duplication on New Code
What type of PR is this?
/kind improvement /area core /milestone 2.20.x
What this PR does / why we need it:
新增 API 用于以 JSON 的方式获取和更新插件和主题的配置
之前一直是返回的 ConfigMap 让前端去操作字符串 JSON 需要转换,渲染表单值回显等操作都不方便,例如像 SEO 插件这样还会去获取配置在业务中使用而不仅仅是只有后端会使用到配置,因此使用 JSON 的方式返回可能要更合理一些
Does this PR introduce a user-facing change?