From 97fb081aff597619cd24b3aeffa3aec4feb27ad1 Mon Sep 17 00:00:00 2001 From: Nick Larsen Date: Fri, 14 Mar 2025 10:57:49 +0100 Subject: [PATCH 1/2] docs: Add example about overriding the S3 region --- modules/concepts/pages/s3.adoc | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/modules/concepts/pages/s3.adoc b/modules/concepts/pages/s3.adoc index 4067acb96..e0045e16a 100644 --- a/modules/concepts/pages/s3.adoc +++ b/modules/concepts/pages/s3.adoc @@ -266,6 +266,21 @@ tls: secretClass: s3-certificate-class ---- +== Region override + +The `S3Connection` and `S3Bucket` bucket region defaults to `us-east-1`. +If your bucket is in a different region, please set it accordingly. + +NOTE: This is mostly useful for AWS S3 buckets, though other implementation might define their own regions. + +[source,yaml] +---- +... +host: s3.amazonaws.com +region: + name: eu-central-1 +---- + == What's next Read the {crd-docs}/s3.stackable.tech/s3bucket/v1alpha1/[S3Bucket CRD reference] and the {crd-docs}/s3.stackable.tech/s3connection/v1alpha1/[S3Connection CRD reference]. From 332e08525501fa15aa6fc66390de16acccc7d67b Mon Sep 17 00:00:00 2001 From: Nick <10092581+NickLarsenNZ@users.noreply.github.com> Date: Fri, 14 Mar 2025 11:46:39 +0100 Subject: [PATCH 2/2] Apply suggestions from code review Co-authored-by: Sebastian Bernauer --- modules/concepts/pages/s3.adoc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/concepts/pages/s3.adoc b/modules/concepts/pages/s3.adoc index e0045e16a..df6229fd2 100644 --- a/modules/concepts/pages/s3.adoc +++ b/modules/concepts/pages/s3.adoc @@ -268,7 +268,7 @@ tls: == Region override -The `S3Connection` and `S3Bucket` bucket region defaults to `us-east-1`. +The `S3Connection` bucket region defaults to `us-east-1`. If your bucket is in a different region, please set it accordingly. NOTE: This is mostly useful for AWS S3 buckets, though other implementation might define their own regions.