From 9061bffd86e41c1614d611e72a1f53ed39adb81b Mon Sep 17 00:00:00 2001 From: parth-gr Date: Tue, 5 Mar 2024 19:03:57 +0530 Subject: [PATCH] doc: update objectuser example in the external install differentiate betwwen two different ways of s3 storage consumption Signed-off-by: parth-gr --- .../CRDs/Cluster/external-cluster.md | 21 +++++++++++++------ 1 file changed, 15 insertions(+), 6 deletions(-) diff --git a/Documentation/CRDs/Cluster/external-cluster.md b/Documentation/CRDs/Cluster/external-cluster.md index 8a803fe33cab..3cd431838e18 100644 --- a/Documentation/CRDs/Cluster/external-cluster.md +++ b/Documentation/CRDs/Cluster/external-cluster.md @@ -191,17 +191,26 @@ If not installing with Helm, here are the steps to install with manifests. ### Connect to an External Object Store -Create the object store resources: - -1. Create the [external object store CR](https://github.com/rook/rook/blob/master/deploy/examples/object-external.yaml) to configure connection to external gateways. -2. Create an [Object store user](https://github.com/rook/rook/blob/master/deploy/examples/object-user.yaml) for credentials to access the S3 endpoint. -3. Create a [bucket storage class](https://github.com/rook/rook/blob/master/deploy/examples/storageclass-bucket-delete.yaml) where a client can request creating buckets. -4. Create the [Object Bucket Claim](https://github.com/rook/rook/blob/master/deploy/examples/object-bucket-claim-delete.yaml), which will create an individual bucket for reading and writing objects. +Create the [external object store CR](https://github.com/rook/rook/blob/master/deploy/examples/object-external.yaml) to configure connection to external gateways. ```console cd deploy/examples kubectl create -f object-external.yaml +``` + +Consume the S3 Storage, in two different ways: + +1. Create an [Object store user](https://github.com/rook/rook/blob/master/deploy/examples/object-user.yaml) for credentials to access the S3 endpoint. + +```console + cd deploy/examples kubectl create -f object-user.yaml +``` + +2. Create a [bucket storage class](https://github.com/rook/rook/blob/master/deploy/examples/storageclass-bucket-delete.yaml) where a client can request creating buckets and then create the [Object Bucket Claim](https://github.com/rook/rook/blob/master/deploy/examples/object-bucket-claim-delete.yaml), which will create an individual bucket for reading and writing objects. + +```console + cd deploy/examples kubectl create -f storageclass-bucket-delete.yaml kubectl create -f object-bucket-claim-delete.yaml ```