-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
allow test utils be extended #1520
allow test utils be extended #1520
Conversation
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: camilamacedo86 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 |
f717547
to
ce78ff0
Compare
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.
Two suggestions.
These modifications to e2e utils will be beneficial to any plugin developers, since they expose wrappers for |
ce78ff0
to
937d12e
Compare
a9ecfbc
to
d88b5a7
Compare
/hold Until get OK from 2 reviewers. |
c/c @joelanford |
d88b5a7
to
9176cf7
Compare
/test pull-kubebuilder-e2e-k8s-1-16-2 |
/hold cancel |
9176cf7
to
1ad7e83
Compare
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.
A few nits.
Otherwise LGTM
To be very clear, there is no backward compatibility guarantee for these util APIs.
testdata/project-v2-addon/go.mod
Outdated
@@ -9,5 +9,5 @@ require ( | |||
k8s.io/apimachinery v0.18.2 | |||
k8s.io/client-go v0.18.2 | |||
sigs.k8s.io/controller-runtime v0.6.0 | |||
sigs.k8s.io/kubebuilder-declarative-pattern v0.0.0-20200512162422-ce639cbf6d4c | |||
sigs.k8s.io/kubebuilder-declarative-pattern v0.0.0-20200522144838-848d48e5b073 |
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.
Is this change really needed in this PR?
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.
testdata/project-v3-addon/go.mod
Outdated
@@ -9,5 +9,5 @@ require ( | |||
k8s.io/apimachinery v0.18.2 | |||
k8s.io/client-go v0.18.2 | |||
sigs.k8s.io/controller-runtime v0.6.0 | |||
sigs.k8s.io/kubebuilder-declarative-pattern v0.0.0-20200512162422-ce639cbf6d4c | |||
sigs.k8s.io/kubebuilder-declarative-pattern v0.0.0-20200522144838-848d48e5b073 |
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.
Same here
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.
ditto.
1ad7e83
to
f198f67
Compare
The nit is solved. So, all ok to /lgtm this one. |
/test pull-kubebuilder-e2e-k8s-1-16-2 |
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.
/lgtm
Description
Allow the test utils to be used for other projects as well.