operator-framework / operator-registry

Operator Registry runs in a Kubernetes or OpenShift cluster to provide operator catalog data to Operator Lifecycle Manager.
Apache License 2.0
212 stars 247 forks source link

How to generate FBC? #1392

Open manstis opened 4 months ago

manstis commented 4 months ago

Hi,

I have a lot to learn; so may ask stupid questions.

I developed an Operator with the SDK and use opm to generate a Catalog; using opm index ...

I read SQLLite Catalogs are dead/dieing/deprecated and File Based Catalogs their replacement.

I see opm has a migrate command to move from SQLLite to FBC; but can I generate a FBC from the outset?

I've looked around and cannot find much information.

Sorry to ask.

bentito commented 3 months ago

Well there's a bit of doc here for opm init:

https://olm.operatorframework.io/docs/reference/file-based-catalogs/

But I feel like we must have a bunch more somewhere? @grokspawn

joelanford commented 3 months ago

This is probably the best resource right now: https://olm.operatorframework.io/docs/tasks/creating-a-catalog/#creating-a-catalog