-
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
🐛 fix: the CRD paths is only ../.. when is multigroup #1682
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 |
c6cee48
to
02e2756
Compare
02e2756
to
b54106b
Compare
/test pull-kubebuilder-e2e-k8s-1-14-1 |
Hi @gabbifish, Could you please give a hand in the review of this one for we fix the issue? |
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
@@ -138,7 +148,7 @@ var _ = BeforeSuite(func(done Done) { | |||
|
|||
By("bootstrapping test environment") | |||
testEnv = &envtest.Environment{ | |||
CRDDirectoryPaths: []string{filepath.Join("..", "..", "config", "crd", "bases")}, | |||
CRDDirectoryPaths: []string{filepath.Join({{ .CRDDirectoryRelativePath }}, "config", "crd", "bases")}, |
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.
I did not know this trick before--today I learned!
/test pull-kubebuilder-e2e-k8s-1-16-2 |
/test pull-kubebuilder-e2e-k8s-1-15-3 |
/test pull-kubebuilder-e2e-k8s-1-14-1 |
1 similar comment
/test pull-kubebuilder-e2e-k8s-1-14-1 |
Follow up of #1673
If is multigroup the path needs more one ../ otherwise not.