Skip to content
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

Merged
merged 1 commit into from
Jan 16, 2025

Conversation

anurag4DSB
Copy link
Collaborator

@anurag4DSB anurag4DSB commented Jan 15, 2025

Add/improve docs and update versions to 1.0.0

Copy link

codecov bot commented Jan 15, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 92.47%. Comparing base (d2c62e4) to head (ea33ec9).
Report is 2 commits behind head on main.

Additional details and impacted files

Impacted file tree graph

Components Coverage Δ
🏠 Main Package ∅ <ø> (∅)
🚗 Driver Package 92.22% <ø> (ø)
📡 gRPC Factory Package 82.35% <ø> (ø)
🔐 IAM Client Package 98.17% <ø> (ø)
🌐 S3 Client Package 94.33% <ø> (ø)
🔧 Util Package 100.00% <ø> (ø)
🔖 Constants Package ∅ <ø> (∅)
@@           Coverage Diff           @@
##             main     #106   +/-   ##
=======================================
  Coverage   92.47%   92.47%           
=======================================
  Files          11       11           
  Lines         771      771           
=======================================
  Hits          713      713           
  Misses         49       49           
  Partials        9        9           

@anurag4DSB anurag4DSB force-pushed the docs/COSI-21-add-readme-and-usage-docs branch from f00112c to 054008a Compare January 15, 2025 15:34
@anurag4DSB anurag4DSB marked this pull request as ready for review January 15, 2025 15:34
docs/Usage.md Outdated Show resolved Hide resolved
Comment on lines +195 to +208
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

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Remove indent

Suggested change
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

Copy link
Collaborator Author

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.

Comment on lines +168 to +188
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
Copy link

@BourgoisMickael BourgoisMickael Jan 16, 2025

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

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

for easy copy paste

Copy link
Collaborator Author

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.

README.md Outdated Show resolved Hide resolved
README.md Outdated Show resolved Hide resolved
docs/Usage.md Outdated Show resolved Hide resolved
docs/Usage.md Outdated Show resolved Hide resolved
docs/Usage.md Outdated Show resolved Hide resolved
docs/Usage.md Outdated Show resolved Hide resolved
Copy link

@BourgoisMickael BourgoisMickael left a 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 and cosi-example
  • indent in bash code block
  • syntax for > [!NOTE] highlight

Copy link

@davidtencer davidtencer left a 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.

README.md Outdated Show resolved Hide resolved
README.md Show resolved Hide resolved
README.md Outdated Show resolved Hide resolved
docs/installation/install-helm.md Show resolved Hide resolved
docs/installation/install-helm.md Outdated Show resolved Hide resolved
docs/Usage.md Show resolved Hide resolved
docs/Usage.md Outdated Show resolved Hide resolved
docs/Usage.md Outdated Show resolved Hide resolved
docs/Usage.md Outdated Show resolved Hide resolved
docs/Usage.md Outdated Show resolved Hide resolved
@anurag4DSB anurag4DSB force-pushed the docs/COSI-21-add-readme-and-usage-docs branch from f76601c to d42d707 Compare January 16, 2025 14:06
- Adds README.md and usage docs
- Updates version to 1.0.0 as default
@anurag4DSB anurag4DSB force-pushed the docs/COSI-21-add-readme-and-usage-docs branch from 2dfb9c0 to ea33ec9 Compare January 16, 2025 20:37
@anurag4DSB anurag4DSB merged commit 1ba6548 into main Jan 16, 2025
6 checks passed
@anurag4DSB anurag4DSB deleted the docs/COSI-21-add-readme-and-usage-docs branch January 16, 2025 20:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants