Skip to content

Latest commit

 

History

History
71 lines (46 loc) · 2.73 KB

File metadata and controls

71 lines (46 loc) · 2.73 KB

version apiVersion

Container Object Storage Interface API

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:

  • BucketClaim - Represents a request to provision a Bucket
  • BucketClass - Represents a class of Buckets with similar characteristics
  • Bucket - Represents a Bucket or its equivalent in the storage backend

The following CRDs are defined for managing the lifecycle of workloads accessing the Bucket:

  • BucketAccessClass - Represents a class of accessors with similar access requirements
  • BucketAccess - Represents a access token or service account in the storage backend

NOTE: All of the APIs are defined under the API group objectstorage.k8s.io.

For more information about COSI, visit our documentation.

Developer Guide

All API definitions are in apis/objectstorage.k8s.io/. All API changes MUST satisfy the following requirements:

Build and Test

  1. Test and Build the project
make all
  1. Generate CRDs
make codegen

Adding new fields to protocols

  1. Create a new issue raising a RFC for the changes following this format:

Title: [RFC] Changes to protocol xyz

Info:

  1. Protocol:
  2. Fields Added:
  3. Why is this change neccessary? ...(describe why here)...
  4. Which other COSI projects are affected by this change?
  5. Upgrade plan (ignore if it doesn't apply)

References

Community, discussion, contribution, and support

You can reach the maintainers of this project at:

Code of conduct

Participation in the Kubernetes community is governed by the Kubernetes Code of Conduct.