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

Adopt kubernetes-sigs/crdify for CRD upgrade safety checks up to 4.18

XMLWordPrintable

    • Icon: Story Story
    • Resolution: Unresolved
    • Icon: Undefined Undefined
    • None
    • None
    • None
    • False
    • Hide

      None

      Show
      None
    • False
    • 3
    • None
    • None
    • None

      Goal

      Unify the CRD upgrade safety check logic across releases by using the crdify library.
      Ensure 4.19 and 4.18 also include all fixes and the same behavior, even with Go version limits.

      Why

      • Current custom code in ≤4.19 is hard to maintain and prone to bugs.
      • crdify already includes the right validation logic upstream.

      Limitations

      • Each crdify release ties to specific Go/Kubernetes versions — older releases can’t upgrade Go, so we need a workaround.

      Plan

      • Use kubernetes-sigs/crdify directly for all versions up 4.18 ( if possible, ensure all code changes; bug fixes so far )
      • For 4.19 and 4.18:
        • The Go version blocks upstream import, fork or embed the crdify code under openshift/ org or our repo.
        • Make sure it compiles without Go version bumps.
        • (Ideally) Verify we have all recent bug fixes. See if we can ensure sthe ame code from the latest to 4.18 as much as possible. 

              Unassigned Unassigned
              rh-ee-cmacedo Camila Macedo
              None
              None
              None
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated: