Skip to content
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

Add operator-sdk annotations - FAR resources #18

Merged
merged 1 commit into from
Mar 5, 2023

Conversation

razo7
Copy link
Member

@razo7 razo7 commented Feb 28, 2023

Include CRD's resources in CSV - customresourcedefinitions.
Follow up to commit and discussion.

@openshift-ci
Copy link
Contributor

openshift-ci bot commented Feb 28, 2023

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: razo7

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

go.mod Outdated
@@ -6,6 +6,7 @@ require (
github.com/go-logr/logr v1.2.0
github.com/onsi/ginkgo v1.16.5
github.com/onsi/gomega v1.17.0
go.uber.org/zap v1.19.1
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this change doesn't make sense in the context of this PR?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's unrelated.
Running make go-verify does this change.
I didn't thought it's worth a PR but I can append this change to another PR if you prefer to.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

CI complains about the modified go.mod as well, so something is wrong, either the file, or CI. Check the make targets, order matters sometimes 🤷🏼‍♂️ (e.g. make generate and go fmt / goimports sometimes have slightly different output with import aliases)

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

For me go mod tidy did the trick and reveled the changes

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I locally use Golang version 1.20. Maybe it matters

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It matters, always use the same (x.y at least) version locally.
I use https://github.com/travis-ci/gimme for quickly switching versions.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice, I will give it a try. I will add the above change when I will update FAR to Golang v1.20 👍🏻

Include CRD's resources in CSV - customresourcedefinitions
@mshitrit
Copy link
Member

mshitrit commented Mar 5, 2023

/lgtm

@openshift-ci openshift-ci bot added the lgtm label Mar 5, 2023
@openshift-merge-robot openshift-merge-robot merged commit c07b39e into medik8s:main Mar 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants