-
Notifications
You must be signed in to change notification settings - Fork 585
OPRUN-3402: ⚠️ Bump OLM API to v1 #2061
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
OPRUN-3402: ⚠️ Bump OLM API to v1 #2061
Conversation
|
Hello @perdasilva! Some important instructions when contributing to openshift/api: |
22a471d to
c535238
Compare
|
verify-crd-schema is failing because |
c535238 to
c69832c
Compare
|
@perdasilva You need to ensure your project is checked out under an appropriate Looking at the PR, I think protobuf generation is not required, so perhaps revert all the proto related changes and run the updates with |
c69832c to
cdeb00e
Compare
|
Thanks @JoelSpeed ^^ I just saw the message on the api forum XD - should be fixed up now (I hope) |
cdeb00e to
14fe41e
Compare
|
/retest |
2 similar comments
|
/retest |
|
/retest |
|
@perdasilva: This pull request references OPRUN-3402 which is a valid jira issue. Warning: The referenced jira issue has an invalid target version for the target branch this PR targets: expected the spike to target the "4.18.0" version, but no target version was set. DetailsIn response to this: Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the openshift-eng/jira-lifecycle-plugin repository. |
|
@perdasilva: This pull request references OPRUN-3402 which is a valid jira issue. Warning: The referenced jira issue has an invalid target version for the target branch this PR targets: expected the spike to target the "4.18.0" version, but no target version was set. DetailsIn response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the openshift-eng/jira-lifecycle-plugin repository. |
|
@perdasilva: This pull request references OPRUN-3402 which is a valid jira issue. Warning: The referenced jira issue has an invalid target version for the target branch this PR targets: expected the spike to target the "4.18.0" version, but no target version was set. DetailsIn response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the openshift-eng/jira-lifecycle-plugin repository. |
|
/jira refresh |
|
@perdasilva: This pull request references OPRUN-3402 which is a valid jira issue. Warning: The referenced jira issue has an invalid target version for the target branch this PR targets: expected the task to target the "4.18.0" version, but no target version was set. DetailsIn response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the openshift-eng/jira-lifecycle-plugin repository. |
|
@JoelSpeed This should be ready for review ^^ The failure in verify-crd-schema is: as discussed here, it should be ok to override. (cc @joelanford) |
1c6a903 to
4248dd0
Compare
|
When bumping an API from v1alpha1 to v1, we must keep the old types around for some time. We need to be able to generate clients for both v1alpha1 and v1 simultaneously to allow users to build tooling versions that might span both GA and pre-GA Please restore the v1alpha1 versions, and then I'll review the v1 API again to see if there's anything we might need to update prior to GA |
14fe41e to
820ae85
Compare
|
@perdasilva: This pull request references OPRUN-3402 which is a valid jira issue. Warning: The referenced jira issue has an invalid target version for the target branch this PR targets: expected the task to target the "4.18.0" version, but no target version was set. DetailsIn response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the openshift-eng/jira-lifecycle-plugin repository. |
@JoelSpeed Thanks for clarifying that. We really weren't sure if it would be ok given the support requirements, but didn't factor in other technical considerations. I've gone ahead and restored v1alpha1. |
|
/jira refresh |
|
@perdasilva: This pull request references OPRUN-3402 which is a valid jira issue. DetailsIn response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the openshift-eng/jira-lifecycle-plugin repository. |
| // +kubebuilder:subresource:status | ||
| // +openshift:api-approved.openshift.io=https://github.com/openshift/api/pull/1504 | ||
| // +openshift:file-pattern=cvoRunLevel=0000_10,operatorName=operator-lifecycle-manager,operatorOrdering=01 | ||
| // +kubebuilder:validation:XValidation:rule="self.metadata.name == 'cluster'",message="olm is a singleton, .metadata.name must be 'cluster'" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Has this been tested and we are happy that it works?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yup yup - we have a test for it https://github.com/openshift/api/pull/2061/files#diff-34775f0b3bbcc2a64f685c6fc398e13b3fae20851398b2b5a455726630673a01R21
I've also gone ahead and manually tested on a clusterbot. Looks good ^^
|
Is there a related feature gate that also needs to be promoted? What is the path to GA for this feature? Do we have enough time to complete the path to GA prior to branch cutting? |
820ae85 to
3f3cf66
Compare
Signed-off-by: Per Goncalves da Silva <[email protected]>
3f3cf66 to
565c25d
Compare
|
/lgtm /override ci/prow/verify-crd-schema Existing failures about observed generation cannot be resolved now |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: JoelSpeed, perdasilva The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
|
@JoelSpeed: Overrode contexts on behalf of JoelSpeed: ci/prow/verify-crd-schema DetailsIn response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. |
|
@perdasilva: all tests passed! Full PR test history. Your PR dashboard. DetailsInstructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. I understand the commands that are listed here. |
|
[ART PR BUILD NOTIFIER] Distgit: ose-cluster-config-api |
Next PR: #2066