dora-metrics/pelorus

Check Operator SDK version

mateusoliveira43 opened this issue · 1 comments

Fix

Currently we have no check for the version of Operator SDK that creates Pelorus operator. We should not allow older versions of it to be used.

Example: Today, we use 1.28.0, so we would not be able to create new operator using Operator SDK versions 1.27.0, 1.27.1, 1.26.5, etc, but the same version, or higher, should be accepted.

requirements

  • Add safety check to create operator script
    • test that older versions are not allowed
    • test that same version is allowed
    • test that higher versions are allowed
  • OPTIONAL create a CI job that suggest bumping Operator SDK version
mpryc commented

There is also related issue, which confirms that we can't always relay on the latest tag of the operator-sdk:

operator-framework/operator-sdk#6403 (comment)