mirror of
https://github.com/rancher/types.git
synced 2025-07-19 07:46:25 +00:00
minLength to global dns api fields
This commit is contained in:
parent
405663c671
commit
0ad2733a32
@ -48,12 +48,12 @@ type GlobalDNSProviderSpec struct {
|
||||
|
||||
type Route53ProviderConfig struct {
|
||||
RootDomain string `json:"rootDomain" norman:"required"`
|
||||
AccessKey string `json:"accessKey" norman:"required"`
|
||||
SecretKey string `json:"secretKey" norman:"required,type=password"`
|
||||
AccessKey string `json:"accessKey" norman:"notnullable,required,minLength=1"`
|
||||
SecretKey string `json:"secretKey" norman:"notnullable,required,minLength=1,type=password"`
|
||||
}
|
||||
|
||||
type CloudflareProviderConfig struct {
|
||||
RootDomain string `json:"rootDomain" norman:"required"`
|
||||
APIKey string `json:"apiKey" norman:"notnullable,required,type=password"`
|
||||
APIEmail string `json:"apiEmail" norman:"notnullable,required"`
|
||||
APIKey string `json:"apiKey" norman:"notnullable,required,minLength=1,type=password"`
|
||||
APIEmail string `json:"apiEmail" norman:"notnullable,required,minLength=1"`
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user