From bc67b99510c999ed916ad003018b1d0cd0202f5a Mon Sep 17 00:00:00 2001 From: Anisur Rahman Date: Fri, 2 Feb 2024 16:57:25 +0600 Subject: [PATCH] Add `InsecureTLS` field into S3Spec Backend Signed-off-by: Anisur Rahman --- api/v1/types.go | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/api/v1/types.go b/api/v1/types.go index eced231d..7a1c5957 100644 --- a/api/v1/types.go +++ b/api/v1/types.go @@ -98,10 +98,11 @@ type LocalSpec struct { } type S3Spec struct { - Endpoint string `json:"endpoint" protobuf:"bytes,1,opt,name=endpoint"` - Bucket string `json:"bucket" protobuf:"bytes,2,opt,name=bucket"` - Prefix string `json:"prefix,omitempty" protobuf:"bytes,3,opt,name=prefix"` - Region string `json:"region,omitempty" protobuf:"bytes,4,opt,name=region"` + Endpoint string `json:"endpoint" protobuf:"bytes,1,opt,name=endpoint"` + Bucket string `json:"bucket" protobuf:"bytes,2,opt,name=bucket"` + Prefix string `json:"prefix,omitempty" protobuf:"bytes,3,opt,name=prefix"` + Region string `json:"region,omitempty" protobuf:"bytes,4,opt,name=region"` + InsecureTLS bool `json:"insecureTLS,omitempty" protobuf:"varint,5,opt,name=insecureTLS"` } type GCSSpec struct {