From ab948ceeea3b4b7a2d008af727b8f29aad7b93e2 Mon Sep 17 00:00:00 2001 From: Matheus Pimenta Date: Mon, 5 Aug 2024 13:48:13 +0100 Subject: [PATCH] Add proxy support for AWS S3 buckets Signed-off-by: Matheus Pimenta --- api/v1beta2/bucket_types.go | 2 +- config/crd/bases/source.toolkit.fluxcd.io_buckets.yaml | 2 +- docs/api/v1beta2/source.md | 4 ++-- docs/spec/v1beta2/buckets.md | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/api/v1beta2/bucket_types.go b/api/v1beta2/bucket_types.go index 928a61373..09c949266 100644 --- a/api/v1beta2/bucket_types.go +++ b/api/v1beta2/bucket_types.go @@ -103,7 +103,7 @@ type BucketSpec struct { // ProxySecretRef specifies the Secret containing the proxy configuration // to use while communicating with the Bucket server. // - // Only supported for the generic provider. + // Only supported for the `generic` and `aws` providers. // +optional ProxySecretRef *meta.LocalObjectReference `json:"proxySecretRef,omitempty"` diff --git a/config/crd/bases/source.toolkit.fluxcd.io_buckets.yaml b/config/crd/bases/source.toolkit.fluxcd.io_buckets.yaml index 5411f06b0..7c861afba 100644 --- a/config/crd/bases/source.toolkit.fluxcd.io_buckets.yaml +++ b/config/crd/bases/source.toolkit.fluxcd.io_buckets.yaml @@ -397,7 +397,7 @@ spec: to use while communicating with the Bucket server. - Only supported for the generic provider. + Only supported for the `generic` and `aws` providers. properties: name: description: Name of the referent. diff --git a/docs/api/v1beta2/source.md b/docs/api/v1beta2/source.md index 451d83611..141084613 100644 --- a/docs/api/v1beta2/source.md +++ b/docs/api/v1beta2/source.md @@ -202,7 +202,7 @@ github.com/fluxcd/pkg/apis/meta.LocalObjectReference (Optional)

ProxySecretRef specifies the Secret containing the proxy configuration to use while communicating with the Bucket server.

-

Only supported for the generic provider.

+

Only supported for the generic and aws providers.

@@ -1568,7 +1568,7 @@ github.com/fluxcd/pkg/apis/meta.LocalObjectReference (Optional)

ProxySecretRef specifies the Secret containing the proxy configuration to use while communicating with the Bucket server.

-

Only supported for the generic provider.

+

Only supported for the generic and aws providers.

diff --git a/docs/spec/v1beta2/buckets.md b/docs/spec/v1beta2/buckets.md index 630f9f5e5..ec72bb387 100644 --- a/docs/spec/v1beta2/buckets.md +++ b/docs/spec/v1beta2/buckets.md @@ -837,7 +837,7 @@ The Secret can contain three keys: - `password`, to specify the password to use if the proxy server is protected by basic authentication. This is an optional key. -This API is only supported for the `generic` [provider](#provider). +This API is only supported for the `generic` and `aws` [providers](#provider). Example: