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:
parent
f8fcf6b362
commit
ebd23f9ff4
@ -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]"`
|
||||
|
Loading…
Reference in New Issue
Block a user