1
0
mirror of https://github.com/rancher/types.git synced 2025-08-30 19:32:18 +00:00

Default the TTL to 300s

This commit is contained in:
Prachi Damle 2019-02-22 14:01:38 -08:00 committed by Alena Prokharchyk
parent 5b7ed44f92
commit eecb8f9986

View File

@ -19,7 +19,7 @@ type GlobalDNS struct {
type GlobalDNSSpec struct {
FQDN string `json:"fqdn,omitempty" norman:"required"`
TTL int64 `json:"ttl,omitempty"`
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]"`
ProviderName string `json:"providerName,omitempty" norman:"type=reference[globalDnsProvider],required"`