-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
COSI-21: Add/improve docs and update versions to 1.0.0 #106
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files
@@ Coverage Diff @@
## main #106 +/- ##
=======================================
Coverage 92.47% 92.47%
=======================================
Files 11 11
Lines 771 771
=======================================
Hits 713 713
Misses 49 49
Partials 9 9 |
f00112c
to
054008a
Compare
cat <<EOF | kubectl apply -f - | ||
apiVersion: objectstorage.k8s.io/v1alpha1 | ||
kind: BucketClaim | ||
metadata: | ||
name: my-brownfield-bucketclaim | ||
namespace: container-object-storage-system | ||
spec: | ||
bucketClassName: brownfield-bucket-class | ||
existingBucketName: "<EXISTING_BUCKET_NAME>" | ||
protocols: | ||
- S3 | ||
EOF |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Remove indent
cat <<EOF | kubectl apply -f - | |
apiVersion: objectstorage.k8s.io/v1alpha1 | |
kind: BucketClaim | |
metadata: | |
name: my-brownfield-bucketclaim | |
namespace: container-object-storage-system | |
spec: | |
bucketClassName: brownfield-bucket-class | |
existingBucketName: "<EXISTING_BUCKET_NAME>" | |
protocols: | |
- S3 | |
EOF | |
cat <<EOF | kubectl apply -f - | |
apiVersion: objectstorage.k8s.io/v1alpha1 | |
kind: BucketClaim | |
metadata: | |
name: my-brownfield-bucketclaim | |
namespace: container-object-storage-system | |
spec: | |
bucketClassName: brownfield-bucket-class | |
existingBucketName: "<EXISTING_BUCKET_NAME>" | |
protocols: | |
- S3 | |
EOF |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I would like to keep the indent, as Kubernetes throws parsing errors and rejects improperly formatted YAML.
cat <<EOF | kubectl apply -f - | ||
apiVersion: objectstorage.k8s.io/v1alpha1 | ||
kind: Bucket | ||
metadata: | ||
name: "<EXISTING_BUCKET_NAME>" | ||
namespace: container-object-storage-system | ||
spec: | ||
bucketClaim: {} | ||
driverName: cosi.scality.com | ||
bucketClassName: brownfield-bucketclass | ||
driverName: cosi.scality.com | ||
deletionPolicy: Retain | ||
existingBucketID: "<EXISTING_BUCKET_NAME>" | ||
parameters: | ||
objectStorageSecretName: s3-secret-for-cosi | ||
objectStorageSecretNamespace: default | ||
protocols: | ||
- S3 | ||
EOF |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
remove indent on all those code blocks
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
for easy copy paste
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I would like to keep the indent, as Kubernetes throws parsing errors and rejects improperly formatted YAML.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same comments across the files:
- Few broken links with
docs
andcosi-example
- indent in bash code block
- syntax for
> [!NOTE]
highlight
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@anurag4DSB great documentation. I made some minor comments to make it a bit clearer.
f76601c
to
d42d707
Compare
- Adds README.md and usage docs - Updates version to 1.0.0 as default
2dfb9c0
to
ea33ec9
Compare
Add/improve docs and update versions to 1.0.0