Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: Update Secrets failed for multi cluster project #2864

Merged
merged 1 commit into from
Dec 20, 2021

Conversation

weili520
Copy link
Contributor

@weili520 weili520 commented Dec 20, 2021

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

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.:

Signed-off-by: TheYoungManLi <cjl@kubesphere.io>
@ks-ci-bot ks-ci-bot added release-note kind/bug Categorizes issue or PR as related to a bug. size/S Denotes a PR that changes 10-29 lines, ignoring generated files. labels Dec 20, 2021
@weili520
Copy link
Contributor Author

/assign @xuliwenwenwen

@harrisonliu5
Copy link
Contributor

/approve

@ks-ci-bot
Copy link
Collaborator

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: harrisonliu5, weili520

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@ks-ci-bot ks-ci-bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Dec 20, 2021
@xuliwenwenwen
Copy link
Contributor

/lgtm

@ks-ci-bot ks-ci-bot added the lgtm Indicates that a PR is ready to be merged. label Dec 20, 2021
@ks-ci-bot
Copy link
Collaborator

LGTM label has been added.

Git tree hash: 00ce9b37f5c10f162255d4453aeaf0c8c77c4d83

@ks-ci-bot ks-ci-bot merged commit deb62d5 into kubesphere:master Dec 20, 2021
@weili520 weili520 deleted the fedrate_secrect branch December 24, 2021 06:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. kind/bug Categorizes issue or PR as related to a bug. lgtm Indicates that a PR is ready to be merged. release-note size/S Denotes a PR that changes 10-29 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants