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 bug where owner.armId could be changed #4193

Merged
merged 1 commit into from
Aug 19, 2024

Conversation

matthchr
Copy link
Member

It was never intended to allow changes to owner.armId, this protection was missed when adding owner.armId support.

Even though this is technically a breaking change in the strictest sense, it's unlikely to break users as updating ARM ID, while not explicitly rejected, didn't actually work upstream in Azure for most cases.

Fixes #4181

If applicable:

  • this PR contains documentation
  • this PR contains tests
  • this PR contains YAML Samples

@matthchr
Copy link
Member Author

/ok-to-test sha=093e853

@matthchr matthchr force-pushed the feature/prevent-changing-armid branch from 093e853 to 7fcfce2 Compare August 17, 2024 00:37
@matthchr
Copy link
Member Author

/ok-to-test sha=7fcfce2

v2/pkg/genruntime/admissions.go Outdated Show resolved Hide resolved
v2/pkg/genruntime/admissions.go Outdated Show resolved Hide resolved
It was never intended to allow changes to owner.armId, this protection
was missed when adding owner.armId support.

Even though this is technically a breaking change in the strictest
sense, it's unlikely to break users as updating ARM ID, while not
explicitly rejected, didn't actually work upstream in Azure for most
cases.

Fixes Azure#4181
@matthchr matthchr force-pushed the feature/prevent-changing-armid branch from 7fcfce2 to 534f383 Compare August 19, 2024 18:30
@matthchr
Copy link
Member Author

/ok-to-test sha=534f383

@matthchr matthchr added this pull request to the merge queue Aug 19, 2024
Merged via the queue into Azure:main with commit 2afdf16 Aug 19, 2024
7 checks passed
@matthchr matthchr deleted the feature/prevent-changing-armid branch August 19, 2024 20:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Development

Successfully merging this pull request may close these issues.

Bug: FleetsMember is unable to handle migration to another Fleet Manager.
3 participants