From 877360f7b95d5874c91cecbba4484e0f49b3724c Mon Sep 17 00:00:00 2001 From: Prachi Damle Date: Tue, 2 Apr 2019 14:24:09 -0700 Subject: [PATCH] Additional parameters to configure the GlobalDNSProvider --- apis/management.cattle.io/v3/globaldns_types.go | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/apis/management.cattle.io/v3/globaldns_types.go b/apis/management.cattle.io/v3/globaldns_types.go index c23c69e9..a2858046 100644 --- a/apis/management.cattle.io/v3/globaldns_types.go +++ b/apis/management.cattle.io/v3/globaldns_types.go @@ -52,13 +52,18 @@ type GlobalDNSProviderSpec struct { } type Route53ProviderConfig struct { - AccessKey string `json:"accessKey" norman:"notnullable,required,minLength=1"` - SecretKey string `json:"secretKey" norman:"notnullable,required,minLength=1,type=password"` + AccessKey string `json:"accessKey" norman:"notnullable,required,minLength=1"` + SecretKey string `json:"secretKey" norman:"notnullable,required,minLength=1,type=password"` + CredentialsPath string `json:"credentialsPath" norman:"default=/.aws"` + RoleArn string `json:"roleArn,omitempty"` + Region string `json:"region" norman:"default=us-east-1"` + ZoneType string `json:"zoneType" norman:"default=public"` } type CloudflareProviderConfig struct { - APIKey string `json:"apiKey" norman:"notnullable,required,minLength=1,type=password"` - APIEmail string `json:"apiEmail" norman:"notnullable,required,minLength=1"` + APIKey string `json:"apiKey" norman:"notnullable,required,minLength=1,type=password"` + APIEmail string `json:"apiEmail" norman:"notnullable,required,minLength=1"` + ProxySetting string `json:"proxySetting" norman:"default=true"` } type UpdateGlobalDNSTargetsInput struct {