mirror of
https://github.com/rancher/types.git
synced 2025-08-31 12:48:45 +00:00
Global dns: marking required fields
This commit is contained in:
@@ -18,10 +18,10 @@ type GlobalDNS struct {
|
||||
}
|
||||
|
||||
type GlobalDNSSpec struct {
|
||||
FQDN string `json:"fqdn,omitempty"`
|
||||
FQDN string `json:"fqdn,omitempty" norman:"required"`
|
||||
ProjectNames []string `json:"projectNames" norman:"type=array[reference[project]]"`
|
||||
MultiClusterAppName string `json:"multiClusterAppName,omitempty" norman:"type=reference[multiClusterApp]"`
|
||||
ProviderName string `json:"providerName,omitempty" norman:"type=reference[globalDnsProvider]"`
|
||||
ProviderName string `json:"providerName,omitempty" norman:"type=reference[globalDnsProvider],required"`
|
||||
Members []Member `json:"members,omitempty"`
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user