-
Notifications
You must be signed in to change notification settings - Fork 116
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
Upgrade operator-sdk to 1.9.0 #150
Conversation
d06b25e
to
60910f5
Compare
test/util/cluster/cluster.go
Outdated
@@ -19,6 +19,28 @@ import ( | |||
"github.com/k8snetworkplumbingwg/sriov-network-operator/test/util/pod" | |||
) | |||
|
|||
func init() { |
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.
maybe we shall call the init from sriovv1 like this: https://github.com/k8snetworkplumbingwg/sriov-network-operator/pull/155/files#diff-fa9c480471555909f4af5c083bdc918e887e487b12ab7eb49cc27bf10757bb0cR53 ?
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.
Remove init()
, as it has been solved by #155.
cfg, err = testEnv.Start() | ||
Expect(err).ToNot(HaveOccurred()) | ||
Expect(cfg).ToNot(BeNil()) | ||
cfg, err := testEnv.Start() |
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.
Why we change ToNot to NotTo? I see we have both in other places.
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.
This was generated by kube-builder. Both do the same work. I don't think it matters.
Some CustomResourceDefinition still use v1beta1 api version:
|
I'll fix this in another PR. |
Are there any notes when running make generate/manifest/bundle etc after this change? Shall we add the notes in the commit message? |
Upgrade project to go.kubebuilder.io/v3
How about creat a HACKING.md file that describes the details in another PR? |
Upgrade project to go.kubebuilder.io/v3