1
0
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:
moelsayed
2019-06-21 00:29:38 +02:00
committed by Alena Prokharchyk
parent 24f8d14436
commit 21b4d61e24
2 changed files with 0 additions and 4 deletions

View File

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

View File

@@ -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"`
}