mirror of
https://github.com/rancher/types.git
synced 2025-08-31 12:48:45 +00:00
GlobalDNS FQDN should be of type hostname
This commit is contained in:
committed by
Alena Prokharchyk
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]"`
|
||||
|
Reference in New Issue
Block a user