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

Latest commit

 

History

History
73 lines (47 loc) · 2.86 KB

File metadata and controls

73 lines (47 loc) · 2.86 KB

MOVED: This repo has been moved to https://github.com/kubernetes-sigs/container-object-storage-interface : see client directory

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.