deploy: add API for getting OpenShift SecurityContextConstraints

This new Go module allows other projects (like Rook) to consume
deployment details (the SCC to get started) directly from Ceph-CSI.

Based-on: https://github.com/rook/rook/blob/3c93eb3/cluster/examples/kubernetes/ceph/operator-openshift.yaml#L47-L90
Signed-off-by: Niels de Vos <ndevos@redhat.com>
This commit is contained in:
Niels de Vos
2021-09-30 11:42:14 +02:00
committed by mergify[bot]
parent f60b097f5f
commit 36e099d939
9 changed files with 573 additions and 0 deletions

9
api/go.mod Normal file
View File

@ -0,0 +1,9 @@
module github.com/ceph/ceph-csi/api
go 1.16
require (
github.com/ghodss/yaml v1.0.0
github.com/openshift/api v0.0.0-20210927171657-636513e97fda
github.com/stretchr/testify v1.7.0
)