mirror of
https://github.com/rancher/types.git
synced 2025-09-26 20:52:57 +00:00
revert custom S3 endpoint CA Certificate option
This commit is contained in:
committed by
Alena Prokharchyk
parent
24f8d14436
commit
21b4d61e24
@@ -35,8 +35,6 @@ type S3BackupConfig struct {
|
||||
Region string `yaml:"region" json:"region,omitempty"`
|
||||
// Endpoint is used if this is not an AWS API
|
||||
Endpoint string `yaml:"endpoint" json:"endpoint"`
|
||||
// EndpointCA is used to connect to custom s3 endpoints
|
||||
EndpointCA string `yaml:"endpoint_ca" json:"endpointCa,omitempty"`
|
||||
}
|
||||
type EtcdBackup struct {
|
||||
types.Namespaced
|
||||
|
@@ -5,7 +5,6 @@ const (
|
||||
S3BackupConfigFieldAccessKey = "accessKey"
|
||||
S3BackupConfigFieldBucketName = "bucketName"
|
||||
S3BackupConfigFieldEndpoint = "endpoint"
|
||||
S3BackupConfigFieldEndpointCA = "endpointCa"
|
||||
S3BackupConfigFieldRegion = "region"
|
||||
S3BackupConfigFieldSecretKey = "secretKey"
|
||||
)
|
||||
@@ -14,7 +13,6 @@ type S3BackupConfig struct {
|
||||
AccessKey string `json:"accessKey,omitempty" yaml:"accessKey,omitempty"`
|
||||
BucketName string `json:"bucketName,omitempty" yaml:"bucketName,omitempty"`
|
||||
Endpoint string `json:"endpoint,omitempty" yaml:"endpoint,omitempty"`
|
||||
EndpointCA string `json:"endpointCa,omitempty" yaml:"endpointCa,omitempty"`
|
||||
Region string `json:"region,omitempty" yaml:"region,omitempty"`
|
||||
SecretKey string `json:"secretKey,omitempty" yaml:"secretKey,omitempty"`
|
||||
}
|
||||
|
Reference in New Issue
Block a user