From fcc79c63d8abc2b9e57f14780106ed87b649fb7e Mon Sep 17 00:00:00 2001 From: Xieql Date: Wed, 6 Sep 2023 10:11:37 +0800 Subject: [PATCH] update Signed-off-by: Xieql --- pkg/apis/fleet/v1alpha1/types.go | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/pkg/apis/fleet/v1alpha1/types.go b/pkg/apis/fleet/v1alpha1/types.go index 9167623be..e00325616 100644 --- a/pkg/apis/fleet/v1alpha1/types.go +++ b/pkg/apis/fleet/v1alpha1/types.go @@ -296,12 +296,14 @@ type BackupStorage struct { type BackupStorageLocation struct { // Bucket specifies the storage bucket name. Bucket string `json:"bucket"` - // Provider specifies the storage provider type (e.g., aws). + // Provider specifies the storage provider type (e.g., aws, gcp, azure). Provider string `json:"provider"` - // S3Url provides the endpoint URL for S3-compatible storage. - S3Url string `json:"s3Url"` + // Endpoint provides the endpoint URL for the storage. + Endpoint string `json:"endpoint"` // Region specifies the region of the storage. Region string `json:"region"` + // Config is a map for additional provider-specific configurations. + Config map[string]string `json:"config,omitempty"` } // FleetStatus defines the observed state of the fleet