Skip to content

Disable "import host" for local cluster#4949

Merged
nwmac merged 2 commits intorancher:masterfrom
nwmac:disable-add-host-local-cluster
Apr 13, 2023
Merged

Disable "import host" for local cluster#4949
nwmac merged 2 commits intorancher:masterfrom
nwmac:disable-add-host-local-cluster

Conversation

@nwmac
Copy link
Member

@nwmac nwmac commented Jan 19, 2023

Addresses rancher/dashboard#4964

Rancher does not manage the local cluster, so the 'Import Host' option should not be shown - currently it is:

image

With this PR it is now not shown:

image

This PR adds an additional check for the local (internal) cluster.

@nwmac nwmac self-assigned this Jan 19, 2023
@nwmac nwmac requested a review from codyrancher January 19, 2023 08:48
@nwmac nwmac added this to the 2.7.next2 milestone Jan 19, 2023
codyrancher
codyrancher previously approved these changes Jan 19, 2023
@nwmac
Copy link
Member Author

nwmac commented Jan 22, 2023

Fixed lint issue - need a re-approval

@nwmac nwmac requested a review from codyrancher January 22, 2023 13:42
@nwmac nwmac merged commit 8dff294 into rancher:master Apr 13, 2023
@nwmac nwmac deleted the disable-add-host-local-cluster branch April 13, 2023 13:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants