feat: disabling windows updates by default #3073
feat: disabling windows updates by default #3073
Conversation
@@ -223,7 +223,7 @@ const ( | |||
// https://docs.microsoft.com/en-us/azure/azure-subscription-service-limits#load-balancer. | |||
DefaultMaximumLoadBalancerRuleCount = 250 | |||
// DefaultEnableAutomaticUpdates determines the aks-engine provided default for enabling automatic updates | |||
DefaultEnableAutomaticUpdates = true | |||
DefaultEnableAutomaticUpdates = false |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
For some reason I thought this already defaulted to false, so lgtm
PS this was being unit tested :)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ooo - i'll update
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
One funny thing is that we disable windows updates in the aks-engine VHDs we produce in the windows registry. I thought this was defaulting to false too.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ah, that's why I thought we have been doing this for a long time. I still think this change is good for folks who choose not to use the VHD.
Codecov Report
@@ Coverage Diff @@
## master #3073 +/- ##
==========================================
- Coverage 70.63% 70.58% -0.05%
==========================================
Files 145 145
Lines 25151 25219 +68
==========================================
+ Hits 17765 17802 +37
- Misses 6283 6312 +29
- Partials 1103 1105 +2
Continue to review full report at Codecov.
|
* feat: disabling windows updates by default
Reason for Change:
Enabling automatic updates on Windows nodes has caused problems for cluster operators in the past and goes against guidance provided by the aks-engine team so it should not be enabled by default in aks-engine
Issue Fixed:
Requirements:
Notes: