1
0
mirror of https://github.com/rancher/types.git synced 2025-06-22 19:57:02 +00:00

GlobalDNS FQDN should be of type hostname

This commit is contained in:
Prachi Damle 2019-05-02 16:32:29 -07:00 committed by Alena Prokharchyk
parent f8fcf6b362
commit ebd23f9ff4

View File

@ -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]"`