You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
Please do not leave comments along the lines of "+1", "me too" or "any updates", they generate extra noise for issue followers and do not help prioritize the request
If you are interested in working on this issue or have submitted a pull request, please leave a comment and review the contribution guide to help.
In the azurerm resource we don't set the property node_os_channel_upgrade.
After the cluster is created, the cloud resource property Node security channel type / nodeOSUpgradeChannel should not have a value.
(taken from clusters created before)
Actual Behaviour
The cloud resource property Node security channel type / nodeOSUpgradeChannel gets the value NodeImage
(taken from a freshly created cluster)
This behavior has only been introduced recently, e.g. April 2024.
Steps to Reproduce
terraform apply
Important Factoids
No response
References
No response
The text was updated successfully, but these errors were encountered:
Hi @cveld, thanks for raising this. It seems NodeImage is used as the default option if no values are received by the AKS side. I'm contacting them now for reasons why this is used as default option. Will get back to you soon once I have the response.
Hi @cveld, the reason to set the default value set to "NodeImage" is to steer away from ‘none’ / ‘unspecified’ behavior and bring in a conscious best practice in tune with industry security standard.
If you want it to be set as other values, then for now, you need to set the property to other properties in the terraform file.
I have created a fix to set this as a default value for azurerm provider which will take effect in the next major release (version 4.0). #26576
Is there an existing issue for this?
Community Note
Terraform Version
1.8.1
AzureRM Provider Version
3.110.0
Affected Resource(s)/Data Source(s)
azurerm_kubernetes_cluster
Terraform Configuration Files
Debug Output/Panic Output
Expected Behaviour
In the azurerm resource we don't set the property
node_os_channel_upgrade
.After the cluster is created, the cloud resource property
Node security channel type
/nodeOSUpgradeChannel
should not have a value.(taken from clusters created before)
Actual Behaviour
The cloud resource property
Node security channel type
/nodeOSUpgradeChannel
gets the valueNodeImage
(taken from a freshly created cluster)
This behavior has only been introduced recently, e.g. April 2024.
Steps to Reproduce
terraform apply
Important Factoids
No response
References
No response
The text was updated successfully, but these errors were encountered: