Skip to content
This repository was archived by the owner on Dec 6, 2024. It is now read-only.

Commit 940e792

Browse files
first readme draft
1 parent 597155e commit 940e792

File tree

1 file changed

+37
-0
lines changed
  • container-object-storage-interface-controller

1 file changed

+37
-0
lines changed

Diff for: container-object-storage-interface-controller/README.md

+37
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,43 @@
11
# Container Object Storage Controller
22

33
Container Object Storage Interface (COSI) controller responsible to manage lifecycle of COSI objects.
4+
Specifically, this controller monitors the lifecycle of the user-facing CRDs:
5+
6+
- BucketRequest - Represents a request to provision a Bucket
7+
- BucketAccessRequest - Represents a request to access a Bucket
8+
9+
and makes the necessary gRPC calls to the associated [provisioner](https://github.com/kubernetes-sigs/container-object-storage-interface-provisioner-sidecar)
10+
11+
## Developer Guide
12+
13+
Before diving into the code of this repo, we suggest that you familiarize yourself with:
14+
15+
- The Spec of CRDs in [objectstorage.k8s.io/v1alpha1/types.go](https://github.com/kubernetes-sigs/container-object-storage-interface-api/blob/master/apis/objectstorage.k8s.io/v1alpha1/types.go)
16+
- The Spec of the COSI objects [sigs.k8s.io/container-object-storage-interface-spec](https://github.com/kubernetes-sigs/container-object-storage-interface-spec)
17+
18+
A good starting point towards understanding the functionality of this repo would be to study the tests:
19+
20+
- [BucketRequest Test](./pkg/bucketrequest/bucketrequest_test.go)
21+
- [BucketAccessRequest Test](./pkg/bucketaccessrequest/bucketaccessrequest_test.go)
22+
23+
### Build and Test
24+
25+
In order to build and generate a Docker image execute:
26+
```bash
27+
make container
28+
```
29+
30+
In order to run the tests execute:
31+
```bash
32+
make test
33+
```
34+
35+
## References
36+
37+
- [Documentation](https://github.com/kubernetes-sigs/container-object-storage-interface-api/tree/master/docs/index.md)
38+
- [Deployment Guide](https://github.com/kubernetes-sigs/container-object-storage-interface-api/tree/master/docs/deployment-guide.md)
39+
- [Weekly Meetings](https://github.com/kubernetes-sigs/container-object-storage-interface-api/tree/master/docs/meetings.md)
40+
- [Roadmap](https://github.com/orgs/kubernetes-sigs/projects/8)
441

542
## Community, discussion, contribution, and support
643

0 commit comments

Comments
 (0)