Files
my-rook-config/deploy/olm
Blaine Gardner 2c4b66957c build: generate CSV from helm charts
In order to generate common.yaml from Helm charts, we have to have a
different way of generating CSV than from meta-comments in common.yaml.
This implementation changes what appears in the CSV's RBAC somewhat, but
these changes could be considered bugs fixed by using the new Helm
generation method.
- a few PSP related resources are removed from CSV
- resources related to 'rook-ceph-purge-osd' Job are added to CSV
- ClusterRoleBinding 'rook-ceph-object-bucket' is added to CSV

Signed-off-by: Blaine Gardner <blaine.gardner@redhat.com>
2021-11-30 08:35:54 -07:00
..
2021-11-30 09:12:53 +01:00
2021-11-30 09:12:53 +01:00

Build Rook's CSV file

Just run make CSV_VERSION=1.0.0 csv-ceph like this:

make csv-ceph CSV_VERSION=1.0.1 CSV_PLATFORM=k8s ROOK_OP_VERSION=rook/ceph:v1.0.1
INFO[0000] Generating CSV manifest version 1.0.1
INFO[0000] Fill in the following required fields in file deploy/olm-catalog/ceph.csv.yaml:
       spec.keywords
       spec.maintainers
       spec.provider
       spec.labels
INFO[0000] Create deploy/olm-catalog/ceph.csv.yaml
INFO[0000] Create deploy/olm-catalog/_generated.concat_crd.yaml

Congratulations!
Your Rook CSV 1.0.1 file for k8s is ready at: deploy/olm/deploy/olm-catalog/rook-ceph.v1.0.1.clusterserviceversion.yaml
Push it to https://github.com/operator-framework/community-operators as well as the CRDs files from deploy/olm/deploy/crds and the package file deploy/olm/assemble/rook-ceph.package.yaml.

Or for OpenShift use: make CSV_VERSION=1.0.0 CSV_PLATFORM=ocp csv-ceph.