This commit is contained in:
Mikaël Cluseau 2018-08-09 16:40:50 +02:00
parent 331f9ea96c
commit 33bf54d08f

View File

@ -166,7 +166,6 @@ func (sd *SecretData) KeyCert(cluster, caName, name, profile, label string, req
continue
}
//for _, part := range strings.Split(host, ".") {
if errs := validation.IsDNS1123Subdomain(host); len(errs) == 0 {
continue
}
@ -176,7 +175,6 @@ func (sd *SecretData) KeyCert(cluster, caName, name, profile, label string, req
path := field.NewPath(cluster, name, "hosts").Index(idx)
return nil, fmt.Errorf("%v: %q is not an IP or FQDN", path, host)
//}
}
if req.CA != nil {