1
0
mirror of https://github.com/rancher/types.git synced 2025-06-30 07:21:49 +00:00

Additional parameters to configure the GlobalDNSProvider

This commit is contained in:
Prachi Damle 2019-04-02 14:24:09 -07:00 committed by Alena Prokharchyk
parent fcab9ae36b
commit 877360f7b9

View File

@ -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 {