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

Container Object Storage Interface (COSI) provisioner responsible to interface with COSI drivers. NOTE: The content of this repo has been moved to https://github.com/kubernetes-sigs/container-object-storage-interface.

License

Notifications You must be signed in to change notification settings

kubernetes-retired/container-object-storage-interface-provisioner-sidecar

Folders and files

NameName
Last commit message
Last commit date

Latest commit

6a5a12c · Nov 26, 2024
Sep 21, 2023
Aug 15, 2022
Feb 15, 2024
Mar 4, 2021
Apr 6, 2021
Mar 14, 2024
Mar 8, 2021
Jul 22, 2020
May 13, 2024
Jul 22, 2020
Feb 13, 2024
May 17, 2024
Nov 26, 2024
Jul 22, 2020
Jul 22, 2020
Sep 21, 2023
Jul 22, 2020
Jun 3, 2024
Jun 3, 2024

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

Container Object Storage Provisioner Sidecar

Container Object Storage Interface (COSI) provisioner sidecar is responsible to manage lifecycle of COSI objects and is deployed as a sidecar to a provisioner. Specifically, the sidecar monitors the lifecycle of the CRDs generated by the COSI Controller:

  • Bucket - Represents a Bucket or its equivalent in the storage backend
  • BucketAccess - Represents a access token or service account in the storage backend

and makes gRPC calls to the associated provisioner.

In this repo you will also find a sample provisioner based on Minio.

Developer Guide

Before diving into the code of this repo, we suggest that you familiarize yourself with:

A good starting point towards understanding the functionality of this repo would be to study the tests:

Build and Test

In order to build and generate the Docker images execute:

make container

Notice that this command will also generate the image for the sample-driver:

objectstorage-sidecar:latest
sample-driver:latest

In order to run the tests execute:

make test

Running the Sidecar

To see an example of running the sidecar, take a look at the COSI Driver Minio sub-project.

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.