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: etc/hosts is incorrect when localhost is not belong cluster. #2349

Merged
merged 1 commit into from
Aug 7, 2024

Conversation

redscholar
Copy link
Collaborator

What type of PR is this?

/kind bug

What this PR does / why we need it:

when exec kubekey out of cluster. the /etc/hosts will occurred a incorrect record.like this:
截屏2024-08-07 17 35 06
the calico/node will get error ip for localhost like this:
截屏2024-08-07 17 35 37

Which issue(s) this PR fixes:

Fixes #

Special notes for reviewers:

Does this PR introduced a user-facing change?


Additional documentation, usage docs, etc.:


Signed-off-by: joyceliu <joyceliu@yunify.com>
@ks-ci-bot ks-ci-bot added the kind/bug Categorizes issue or PR as related to a bug. label Aug 7, 2024
@ks-ci-bot
Copy link
Collaborator

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: ImitationImmortal

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 approved Indicates a PR has been approved by an approver from all required OWNERS files. size/M Denotes a PR that changes 30-99 lines, ignoring generated files. labels Aug 7, 2024
Copy link

sonarqubecloud bot commented Aug 7, 2024

@liangzai006
Copy link
Collaborator

/lgtm

@ks-ci-bot ks-ci-bot added the lgtm Indicates that a PR is ready to be merged. label Aug 7, 2024
@ks-ci-bot
Copy link
Collaborator

LGTM label has been added.

Git tree hash: bfccb7dbac41e71b48bed4c8eec8aa62c0e8156e

@ks-ci-bot ks-ci-bot merged commit 4a060a9 into kubesphere:feature-gitops Aug 7, 2024
5 checks passed
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. size/M Denotes a PR that changes 30-99 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants