As highlighted in this PR, the elemental-operator could use validation on any cloud-config input, to ensure errors are corrected by the end-user before trying to apply such config during machine registration.
There are also a few validations that are currently executed on a reconcile phase and should be moved to the validation webhook accordingly. CTRL+F "TODO: This should be part of validation webhook".
As highlighted in this PR, the elemental-operator could use validation on any
cloud-config
input, to ensure errors are corrected by the end-user before trying to apply such config during machine registration.There are also a few validations that are currently executed on a reconcile phase and should be moved to the validation webhook accordingly. CTRL+F "TODO: This should be part of validation webhook".