Skip to content

fix: Update Secrets failed for multi cluster project

Calvin Yu请求将github/fork/weili520/fedrate_secrect合并到master

Created by: weili520

Signed-off-by: TheYoungManLi cjl@kubesphere.io

What type of PR is this?

/kind bug

What this PR does / why we need it:

This problem was caused by the response data lost 'kind' and 'apiVersion' fields in multi-cluster projects.

Which issue(s) this PR fixes:

Fixes ##2854 (closed)

Special notes for reviewers:

Before, the put request body lose 'kind' and 'apiVersion' field.

截屏2021-12-20 16 13 09

At now:

截屏2021-12-20 16 11 10

Does this PR introduced a user-facing change?

Update Secrets failed for multi cluster project.

Additional documentation, usage docs, etc.:

合并请求报告

加载中