Skip to content

Commit

Permalink
COSI-79: Update names and specs in docs
Browse files Browse the repository at this point in the history
  • Loading branch information
anurag4DSB committed Jan 23, 2025
1 parent 64c7dca commit 908c8ce
Showing 1 changed file with 9 additions and 10 deletions.
19 changes: 9 additions & 10 deletions docs/Usage.md
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,7 @@ Brownfield provisioning allows you to manage an **already-existing** S3 bucket i
metadata:
name: my-brownfield-bucketclaim
spec:
bucketClassName: brownfield-bucket-class
bucketClassName: brownfield-bucketclass
existingBucketName: "<EXISTING_BUCKET_NAME>"
protocols:
- S3
Expand Down Expand Up @@ -236,16 +236,15 @@ A `BucketAccessClass` defines how access (IAM policy or S3 keys) is granted:
```bash
cat <<EOF | kubectl apply -f -
apiVersion: objectstorage.k8s.io/v1alpha1
kind: BucketAccessClass
apiVersion: objectstorage.k8s.io/v1alpha1
metadata:
name: bucketaccessclass
spec:
driverName: cosi.scality.com
authenticationType: KEY
parameters:
objectStorageSecretName: s3-secret-for-cosi
objectStorageSecretNamespace: default
name: bucket-access-class
driverName: cosi.scality.com
authenticationType: KEY
parameters:
objectStorageSecretName: s3-secret-for-cosi
objectStorageSecretNamespace: default
EOF
```
Expand All @@ -266,7 +265,7 @@ metadata:
name: my-bucketaccess
spec:
bucketClaimName: my-greenfield-bucketclaim # or my-brownfield-bucketclaim
bucketAccessClassName: bucketaccessclass
bucketAccessClassName: bucket-access-class
credentialsSecretName: my-s3-credentials
protocol: S3
EOF
Expand Down

0 comments on commit 908c8ce

Please sign in to comment.