From eecb8f99861742147470dffcd08c0207052f11e7 Mon Sep 17 00:00:00 2001 From: Prachi Damle Date: Fri, 22 Feb 2019 14:01:38 -0800 Subject: [PATCH] Default the TTL to 300s --- apis/management.cattle.io/v3/globaldns_types.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apis/management.cattle.io/v3/globaldns_types.go b/apis/management.cattle.io/v3/globaldns_types.go index 6e55f121..c72a2aae 100644 --- a/apis/management.cattle.io/v3/globaldns_types.go +++ b/apis/management.cattle.io/v3/globaldns_types.go @@ -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"`