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: Can't validate Image registry information after updating host cluster name in multi-cluster project #2867

Merged
merged 1 commit into from
Dec 22, 2021

Conversation

weili520
Copy link
Contributor

@weili520 weili520 commented Dec 21, 2021

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

What type of PR is this?

/kind bug

What this PR does / why we need it:

The host cluster's name always is 'host' in multi-project, so it can't validate the image registry information when the user had updated the host cluster's name to 'host-test'.

Which issue(s) this PR fixes:

Fixes ##2853

Special notes for reviewers:

It works well

截屏2021-12-21 14 02 48

Does this PR introduced a user-facing change?

Can't validate Image registry information after updating host cluster name in the multi-cluster project.

Additional documentation, usage docs, etc.:

…ter name

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 21, 2021
@weili520 weili520 changed the title fix: Can't validate mirror warehouse secerts after updating host cluster name in multi-cluster project fix: Can't validate Image registry information after updating host cluster name in multi-cluster project Dec 21, 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 22, 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 22, 2021
@ks-ci-bot
Copy link
Collaborator

LGTM label has been added.

Git tree hash: 21cf7e392d1b6dd190ac7961ecf656dfcce46965

@ks-ci-bot ks-ci-bot merged commit 9e97268 into kubesphere:master Dec 22, 2021
@weili520 weili520 deleted the mirror_error 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