-
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
🌱 Removed Prometheus dependency from e2e scaffolds #4529
base: master
Are you sure you want to change the base?
🌱 Removed Prometheus dependency from e2e scaffolds #4529
Conversation
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: anshuman-agarwala The full list of commands accepted by this bot can be found here.
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
Welcome @anshuman-agarwala! |
Hi @anshuman-agarwala. Thanks for your PR. I'm waiting for a kubernetes-sigs member to verify that this patch is reasonable to test. If it is, they should reply with Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. 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. |
@@ -30,14 +30,10 @@ import ( | |||
|
|||
var ( |
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.
that is great 🎉
We just need either remove here: https://github.com/kubernetes-sigs/kubebuilder/blob/master/testdata/project-v4/Makefile#L67
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.
The change need to be done here:
kubebuilder/pkg/plugins/golang/v4/scaffolds/internal/templates/makefile.go
Lines 143 to 147 in 87b0139
# TODO(user): To use a different vendor for e2e tests, modify the setup under 'tests/e2e'. | |
# The default setup assumes Kind is pre-installed and builds/loads the Manager Docker image locally. | |
# Prometheus and CertManager are installed by default; skip with: | |
# - PROMETHEUS_INSTALL_SKIP=true | |
# - CERT_MANAGER_INSTALL_SKIP=true |
Also, can you please ensure that we have all squashed in the same commit so we can merge this one?
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.
Done
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.
You need change the template kubebuilder/pkg/plugins/golang/v4/scaffolds/internal/templates/makefile.go
And then run make install && make generate
It will re-generate all samples and docs with this change
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.
Done
0fda6dd
to
beb5185
Compare
beb5185
to
bf51b38
Compare
Fixes #4527