Remove unnecessary "Name" webhook from AzureManagedControlPlane #3005
Labels
area/managedclusters
Issues related to managed AKS clusters created through the CAPZ ManagedCluster Type
good first issue
Denotes an issue ready for a new contributor, according to the "help wanted" guidelines.
kind/bug
Categorizes issue or PR as related to a bug.
/kind bug
[Before submitting an issue, have you checked the Troubleshooting Guide?]
What steps did you take and what happened:
[A clear and concise description of what the bug is.]
We're currently validating immutability for the
Name
property with every webhook update flow forAzureManagedControlPlane
. Because theName
property is the unique identifier for Kubernetes resource objects, and immutability is enforced at a lower abstraction layer, we should remove this unnecessary webhook.This work was done in this PR, which did not land:
https://github.com/kubernetes-sigs/cluster-api-provider-azure/pull/2925/files#diff-794f776e55c518f77cccea935614365a8889a67d892918bd16d24f14fa0cbbc6L101-L107
What did you expect to happen:
Anything else you would like to add:
[Miscellaneous information that will assist in solving the issue.]
Environment:
kubectl version
):/etc/os-release
):The text was updated successfully, but these errors were encountered: