-
Notifications
You must be signed in to change notification settings - Fork 82
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Check Operator SDK version #953
Labels
Comments
mateusoliveira43
added
pelorus-operator
dependencies
Pull requests that update a dependency file
labels
Apr 21, 2023
There is also related issue, which confirms that we can't always relay on the |
mpryc
added a commit
to mpryc/pelorus
that referenced
this issue
Apr 25, 2023
Our current script does not always works as expected. In situation where latest tag of the dependent tool is pointing to the lower version then the newest one, the latest will be used. This modifies to incorporate semver checking of all the released versions and picking up the newest one (highest semver). Related issue: operator-framework/operator-sdk#6403 Related issue: dora-metrics#953 Signed-off-by: Michal Pryc <mpryc@redhat.com>
mpryc
added a commit
to mpryc/pelorus
that referenced
this issue
Apr 25, 2023
Our current script does not always works as expected. In situation where latest tag of the dependent tool is pointing to the lower version then the newest one, the latest will be used. This modifies to incorporate semver checking of all the released versions and picking up the newest one (highest semver). Related issue: operator-framework/operator-sdk#6403 Related issue: dora-metrics#953 Signed-off-by: Michal Pryc <mpryc@redhat.com>
mpryc
added a commit
to mpryc/pelorus
that referenced
this issue
Apr 25, 2023
Our current script does not always works as expected. In situation where latest tag of the dependent tool is pointing to the lower version then the newest one, the latest will be used. This modifies to incorporate semver checking of all the released versions and picking up the newest one (highest semver). Related issue: operator-framework/operator-sdk#6403 Related issue: dora-metrics#953 Signed-off-by: Michal Pryc <mpryc@redhat.com>
1 task
1 task
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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 versions1.27.0
,1.27.1
,1.26.5
, etc, but the same version, or higher, should be accepted.requirements
The text was updated successfully, but these errors were encountered: