1
0
mirror of https://github.com/openshift/installer.git synced 2026-02-05 15:47:14 +01:00
Files
installer/pkg/validate
staebler bf3ee0353a types: validate cluster name in InstallConfig
Validate that the cluster name in an InstallConfig is a valid DNS subdomain.

Validate that <cluster-name>.<base-domain> is a valid DNS subdomain.

The DomainName function in pkg/validate now takes a parameter specifying
whether the domain name being validated is permitted to have a trailing dot.
The base domain is allowed to have a trailing dot, but the cluster name is
not allowed to have a trailing dot.

Fix for https://bugzilla.redhat.com/show_bug.cgi?id=1663447
2019-02-14 14:35:51 -05:00
..