fix: Update configMap failed for multi-cluster project
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:
Does this PR introduced a user-facing change?
Update configMap failed for multi-cluster project.