Skip to content

Fix labels not being saved on hosted providers#4950

Merged
nwmac merged 3 commits intorancher:masterfrom
nwmac:fix-host-provider-labels-save
Jan 23, 2023
Merged

Fix labels not being saved on hosted providers#4950
nwmac merged 3 commits intorancher:masterfrom
nwmac:fix-host-provider-labels-save

Conversation

@nwmac
Copy link
Member

@nwmac nwmac commented Jan 19, 2023

Addresses rancher/dashboard#7631

This PR fixes the above issue.

We are not sending the labels or annotations for hosted providers.

This PR adds an extra arg to the save method, so that we can determine if the labels or annotations have changed, and only send those it they have.

Tested with an Azure AKS cluster.

@nwmac nwmac added this to the 2.7.next2 milestone Jan 19, 2023
@nwmac nwmac self-assigned this Jan 19, 2023
@nwmac nwmac requested a review from codyrancher January 19, 2023 17:28
@nwmac nwmac requested a review from codyrancher January 22, 2023 11:39
@nwmac nwmac modified the milestones: 2.7.next2, 2.7.next1 Jan 23, 2023
@nwmac nwmac merged commit bf6828b into rancher:master Jan 23, 2023
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