Uploaded image for project: 'Machine Config Operator'
  1. Machine Config Operator
  2. MCO-1147

Update/Clean up kube version reference in boostrap unit tests

XMLWordPrintable

    • Icon: Story Story
    • Resolution: Done
    • Icon: Undefined Undefined
    • None
    • 4.18
    • None
    • MCO Sprint 255
    • 0
    • 0

      We currently have a kube version string used in the call to setup envtest. We should either git rid of this reference and grab it from elsewhere or update it with every kube bump we do.

      In addition, the setup call now requires an additional argument to factor for openshift/api's kubebuilder divergence. So the value being used here may not be valid for every kube bump as the archive is not generated for every kube version. (Doing a bootstrap test run should be able to sus this out, if it doesn't error with the new version you should be ok)

            dkhater@redhat.com Dalia Khater
            djoshy David Joshy
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: