From bd3970b3b2a8b6af0dddc70fca39b07f2e01354b Mon Sep 17 00:00:00 2001 From: Silvio Ankermann Date: Thu, 12 Dec 2024 20:55:51 +0100 Subject: [PATCH] docs: fix misleading example for urlPrefix The default value for protocols.swift.urlPrefix is "swift", which makes the Swift API available at http://host:port/swift/v1. However, in the documentation our example says "/swift", which resulted in the unexpected endpoint http://host:port//swift/v1. Apparently, Ceph distinguishes between both values even though their docs[1] seem to suggest that using leading slashes is fine. This commit fixes the examples in the documentation to use the default value "swift". [1] https://docs.ceph.com/en/reef/radosgw/config-ref/#confval-rgw_swift_url_prefix Fixes #15065 Signed-off-by: Silvio Ankermann (cherry picked from commit fcce3ca52013e486aa34b0962c3d0975546c6b61) --- Documentation/CRDs/Object-Storage/ceph-object-store-crd.md | 2 +- .../Object-Storage-RGW/ceph-object-swift.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Documentation/CRDs/Object-Storage/ceph-object-store-crd.md b/Documentation/CRDs/Object-Storage/ceph-object-store-crd.md index d3075e2a5..f8569de11 100644 --- a/Documentation/CRDs/Object-Storage/ceph-object-store-crd.md +++ b/Documentation/CRDs/Object-Storage/ceph-object-store-crd.md @@ -123,7 +123,7 @@ spec: protocols: swift: accountInUrl: true - urlPrefix: /swift + urlPrefix: swift [...] ``` diff --git a/Documentation/Storage-Configuration/Object-Storage-RGW/ceph-object-swift.md b/Documentation/Storage-Configuration/Object-Storage-RGW/ceph-object-swift.md index 89dc0544a..2510a3233 100644 --- a/Documentation/Storage-Configuration/Object-Storage-RGW/ceph-object-swift.md +++ b/Documentation/Storage-Configuration/Object-Storage-RGW/ceph-object-swift.md @@ -76,7 +76,7 @@ spec: protocols: swift: accountInUrl: true - urlPrefix: /swift + urlPrefix: swift # note that s3 is enabled by default if protocols.s3.enabled is not explicitly set to false preservePoolsOnDelete: true gateway: