1
0
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:
Alena Prokharchyk
2019-01-30 14:35:39 -08:00
parent 8c8ab0f639
commit 81075bc782

View File

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