-
Notifications
You must be signed in to change notification settings - Fork 205
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
Bug: tags, nodeLabels, and nodeTaints cannot be completely removed from ManagedCluster, ManagedClustersAgentPool #3522
Comments
I'm pretty sure I built everything from source right and I can see the changes from #3407 in my local copy. CAPZ sets these to empty, non-nil values to delete all, so like |
We did some digging into this and determine that the issue is that AKS RP treats There are two possible fixes:
We'll need to think a bit about which option makes the most sense. |
This fixes Azure#3522. * Use this new payloadType for AKS resources, because the AKS RP doesn't treat "myProperty": null any different than omission of "myProperty" entirely, which meaans that it doesn't correctly clear properties that it should. * Update test recordings.
This fixes Azure#3522. * Use this new payloadType for AKS resources, because the AKS RP doesn't treat "myProperty": null any different than omission of "myProperty" entirely, which meaans that it doesn't correctly clear properties that it should. * Update test recordings.
This fixes Azure#3522. * Use this new payloadType for AKS resources, because the AKS RP doesn't treat "myProperty": null any different than omission of "myProperty" entirely, which meaans that it doesn't correctly clear properties that it should. * Update test recordings.
This fixes Azure#3522. * Use this new payloadType for AKS resources, because the AKS RP doesn't treat "myProperty": null any different than omission of "myProperty" entirely, which meaans that it doesn't correctly clear properties that it should. * Update test recordings.
This fixes #3522. * Use this new payloadType for AKS resources, because the AKS RP doesn't treat "myProperty": null any different than omission of "myProperty" entirely, which meaans that it doesn't correctly clear properties that it should. * Update test recordings.
Version of Azure Service Operator
6657652, built from source
Describe the bug
When setting any of the
spec
fieldstags
,nodeLabels
, andnodeTaints
in ManagedClustersAgentPool to a non-null value, then to a null value, none of the corresponding configuration is reset in Azure. ManagedClusterspec.tags
is also affected.To Reproduce
Steps to reproduce the behavior:
spec.tags
spec.tags
Expected behavior
All of the tags are deleted in Azure.
Screenshots
If applicable, add screenshots to help explain your problem.
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: