Closed flickerfly closed 4 years ago
Also seems important to note that this brings in the ConfigMap and outputs a grpc endpoint so it will not work in older versions of Operator Lifecycle Manager that don't support grpc as a CatalogSource.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
I created a quick helm chart for deploying a configmap operator registry. You can find it here: https://github.com/zach-source/operatorsdk-configmap-catalog
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
I've learned a lot since October. ConfigMap catalogs are not a great idea because they are extremely limited in size. Also, since then the process of building up a grpc catalog has been very much improved. I recommend upgrading OLM to at least 0.12.0 and go with the better catalogs that aren't limited to approximately 3 CSVs.
@flickerfly do you have links handy of how to deploy a grpc catalog that runs and updateable from the cluster
@gmendel You'll find information about catalogs here: https://github.com/operator-framework/operator-registry
Once you create an index image using opm
you can use CatalogSource CRs with the image spec field to point to a tagged index image. To upgrade you simply update to a new tag on the CatalogSource and it'll update the operator definitions.
I'm looking through the code to figure out how to setup a ConfigMap Operator Registry. I figured I'd drop what I found which seems like it would be good to document here. I'd be thankful for any corrections.
Arguments to configmap-server
ENVs for configmap-server:
The config map needs to be in the following form
Relevant Documents: https://github.com/operator-framework/operator-registry/blob/master/configmap-registry.Dockerfile https://github.com/operator-framework/operator-registry/blob/master/configmap.example.yaml https://github.com/operator-framework/operator-registry/tree/master/cmd/configmap-server