Uploaded image for project: 'Operator Runtime'
  1. Operator Runtime
  2. OPRUN-2314

File-based catalog veneer for generating semver-based channels

XMLWordPrintable

    • Icon: Story Story
    • Resolution: Done
    • Icon: Normal Normal
    • None
    • None
    • [OLM 218] Jacaranda, [OLM-219] Koala, [OLM-220] Lacrimosa
    • 0

      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

            rh-ee-jkeister Jordan Keister
            jlanford@redhat.com Joe Lanford
            Xia Zhao Xia Zhao
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: