Uploaded image for project: 'Red Hat Data Grid'
  1. Red Hat Data Grid
  2. JDG-6052

[Operator] Automate Downstream OLM bundle generation

    XMLWordPrintable

Details

    • False
    • None
    • False

    Description

      Currently the DG and Infinispan bundles are defined independently, which means that whenever there's a change to the CRDs or RBAC permissions, a manual sync between upstream and downstream is necessary. Often this step gets missed, resulting in delays with QE as they encounter trivial issues that require a PR to the DG bundle and a respin.

      To avoid these issues, we should automate this syncing of resources so that the downstream bundle is automatically generated using the upstream sources.

      The approximate process to do this is:

      1. git clone http://github.com/infinispan/infinispan-operator
      2. Replace config/manifests/bases/infinispan-operator.clusterserviceversion.yaml with the downstream equivalent
      3. kustomize build config/manifests | operator-sdk generate bundle -q --overwrite --version <version> --bundle-channels <bundle-channels> --default-channel <default channel>
      4. operator-sdk bundle validate ./bundle

      Attachments

        Activity

          People

            pminz@redhat.com Priyanka Minz
            remerson@redhat.com Ryan Emerson
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: