From ebd23f9ff460bbfa78e497e5d5fd9ea520b5dc7b Mon Sep 17 00:00:00 2001 From: Prachi Damle Date: Thu, 2 May 2019 16:32:29 -0700 Subject: [PATCH] GlobalDNS FQDN should be of type hostname --- apis/management.cattle.io/v3/globaldns_types.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apis/management.cattle.io/v3/globaldns_types.go b/apis/management.cattle.io/v3/globaldns_types.go index 16fa9e12..2d9399da 100644 --- a/apis/management.cattle.io/v3/globaldns_types.go +++ b/apis/management.cattle.io/v3/globaldns_types.go @@ -18,7 +18,7 @@ type GlobalDNS struct { } type GlobalDNSSpec struct { - FQDN string `json:"fqdn,omitempty" norman:"required"` + FQDN string `json:"fqdn,omitempty" norman:"type=hostname,required"` TTL int64 `json:"ttl,omitempty" norman:"default=300"` ProjectNames []string `json:"projectNames" norman:"type=array[reference[project]],noupdate"` MultiClusterAppName string `json:"multiClusterAppName,omitempty" norman:"type=reference[multiClusterApp]"`