Enables numeric values for FQDN in workspace:agent

What does this MR do and why?

Enables numeric values for FQDN in workspace:agent

Specifically for the unqualified host label.

Unqualified hostname part of a domain is the part before the first dot. By default validates_hostname gem does not allow this label to be numeric. This is enabled because this is a completely valid part of a domain.

Changelog: fixed EE: true

References

How to set up and validate locally

  • Try to save an agent config with a numeric qualified host label, for example, 1.domain.com
  • The agent config should be saved.

MR acceptance checklist

Evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.

Edited by Ashvin Sharma

Merge request reports

Loading