-
Story
-
Resolution: Done
-
Normal
-
None
-
None
-
5
-
False
-
False
-
OCPPLAN-7744 - Declarative Index Config
-
-
[OLM 218] Jacaranda, [OLM-219] Koala, [OLM-220] Lacrimosa
As an operator author, I would like to automate my channel and upgrade-edge generation based on the semver versions of bundles in my package.
Build a tool that reads a declarative config, finds bundles in a specified package, and generates new `olm.channel` blobs based on the semver versions of those bundles.
This is in the context of: https://hackmd.io/@HfMEKr4nRGy3oiFl_2q1TQ/B1ubB9Emc
which provides an example of a `semver channel veneer` format as:
schema: olm.semver candidate: bundles: - image: quay.io/foo/foo-bundle:v0.1.0 - image: quay.io/foo/foo-bundle:v0.1.1 - image: quay.io/foo/foo-bundle:v0.1.2 - image: quay.io/foo/foo-bundle:v0.1.3 - image: quay.io/foo/foo-bundle:v0.2.0 - image: quay.io/foo/foo-bundle:v0.2.1 - image: quay.io/foo/foo-bundle:v0.2.2 - image: quay.io/foo/foo-bundle:v0.3.0 - image: quay.io/foo/foo-bundle:v1.0.0 - image: quay.io/foo/foo-bundle:v1.0.1 - image: quay.io/foo/foo-bundle:v1.1.0 fast: bundles: - image: quay.io/foo/foo-bundle:v0.2.1 - image: quay.io/foo/foo-bundle:v0.2.2 - image: quay.io/foo/foo-bundle:v0.3.0 - image: quay.io/foo/foo-bundle:v1.0.1 - image: quay.io/foo/foo-bundle:v1.1.0 stable: bundles: - image: quay.io/foo/foo-bundle:v1.0.1
AC
- Tool is built into `opm alpha`
- Tool is idempotent
- Tool outputs updated file-based catalog to stdout (much like `opm render`), including olm.package, the olm.channel(s) generated from the file ingest, and olm.bundles of referenced bundles from the file ingest
- Tool can write as either JSON or YAML
- is blocked by
-
OPRUN-2280 Prototype Veneer api for declarative config
- Closed