Bug Skipping disk-encryption validation on day2 hosts.
Day2 hosts encryption isn't implemented yet, therefore, we should skip
the validations on those hosts until it is implemented.
@@ -359,7 +359,7 @@ func isDiskEncryptionEnabledForRole(encryption models.DiskEncryption, role model
func (v *validator) diskEncryptionRequirementsSatisfied(c *validationContext) ValidationStatus {
- if c.infraEnv != nil || swag.StringValue(c.cluster.DiskEncryption.EnableOn) == models.DiskEncryptionEnableOnNone {
+ if c.infraEnv != nil || swag.StringValue(c.cluster.DiskEncryption.EnableOn) == models.DiskEncryptionEnableOnNone || hostutil.IsDay2Host(c.host) {
return ValidationSuccessSuppressOutput
}
