Skip to content

Conversation

@squat
Copy link

@squat squat commented Oct 24, 2025

This commit introduces a configuration option to the NodeClass CRD to
control the Linux VM patch settings.
xref: https://learn.microsoft.com/en-us/azure/virtual-machines/automatic-vm-guest-patching

This setting is useful for enabling automatic patching on the
provisioned node, which is required by many compliance frameworks to
improve the security posture of VMs.

Note that the field on the NodeClass spec is Patching rather than
PatchSettings, which would more closely match the upstream library.
My thinking is that this is less confusing than having fields suffixed
with various forms of settings, options, config, etc. Also, this
naming aligns with how the Security field drops the Profile suffix.

Signed-off-by: squat [email protected]

This commit introduces a configuration option to the NodeClass CRD to
control the Linux VM patch settings.
xref: https://learn.microsoft.com/en-us/azure/virtual-machines/automatic-vm-guest-patching

This setting is useful for enabling automatic patching on the
provisioned node, which is required by many compliance frameworks to
improve the security posture of VMs.

Note that the field on the NodeClass spec is `Patching` rather than
`PatchSettings`, which would more closely match the upstream library.
My thinking is that this is less confusing than having fields suffixed
with various forms of `settings`, `options`, `config`, etc. Also, this
naming aligns with how the `Security` field drops the `Profile` suffix.

Signed-off-by: squat <[email protected]>
@squat
Copy link
Author

squat commented Oct 24, 2025

@microsoft-github-policy-service agree

Signed-off-by: squat <[email protected]>
@squat squat force-pushed the add_vm_patch_settings_to_node_class branch from 413b1fe to 23903d9 Compare October 24, 2025 11:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant