You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This repository hosts the API defintion of the Custom Resource Definitions (CRD) used for the Container Object Storage Interface (COSI) project. The provisioned unit of storage is a `Bucket`. The following CRDs are defined for managing the lifecycle of Buckets:
6
+
This repository hosts the Container Object Storage Interface (COSI) project.
7
7
8
-
- BucketClaim - Represents a request to provision a Bucket
9
-
- BucketClass - Represents a class of Buckets with similar characteristics
10
-
- Bucket - Represents a Bucket or its equivalent in the storage backend
8
+
## Documentation
11
9
12
-
The following CRDs are defined for managing the lifecycle of workloads accessing the Bucket:
10
+
To deploy, run `kubectl apply -k .`
13
11
14
-
- BucketAccessClass - Represents a class of accessors with similar access requirements
15
-
- BucketAccess - Represents a access token or service account in the storage backend
16
-
17
-
**NOTE**: All of the APIs are defined under the API group `objectstorage.k8s.io`.
18
-
19
-
For more information about COSI, visit our [documentation](https://container-object-storage-interface.github.io/docs).
20
12
## Developer Guide
21
13
22
-
All API definitions are in [`apis/objectstorage.k8s.io/`](./apis/objectstorage/). All API changes **_MUST_** satisfy the following requirements:
14
+
All API definitions are in [`client/apis/objectstorage`](./client/apis/objectstorage/). All API changes **_MUST_** satisfy the following requirements:
23
15
24
-
- Must be backwards compatible
25
-
- Must be in-sync with the API definitions in [sigs.k8s.io/container-object-storage-interface-spec](https://sigs.k8s.io/container-object-storage-interface-spec)
16
+
- Must be backwards compatible
17
+
- Must be in-sync with the API definitions in [sigs.k8s.io/container-object-storage-interface-spec](https://sigs.k8s.io/container-object-storage-interface-spec)
26
18
27
19
### Build and Test
28
20
29
-
1. Test and Build the project
30
-
31
-
```
32
-
make all
33
-
```
34
-
35
-
2. Generate CRDs
36
-
37
-
```
38
-
make codegen
39
-
```
21
+
See `make help` for assistance
40
22
41
23
## Adding new fields to protocols
42
24
43
-
1. Create a new issue raising a RFC for the changes following this format:
25
+
Create a new issue raising a RFC for the changes following this format:
26
+
27
+
**Title:**[RFC] Changes to protocol xyz
44
28
45
-
Title: [RFC] Changes to protocol xyz
46
-
> **Info**:
29
+
**Description:**
47
30
> 1. Protocol:
48
31
> 2. Fields Added:
49
32
> 3. Why is this change neccessary?
@@ -54,10 +37,8 @@ Title: [RFC] Changes to protocol xyz
0 commit comments