-
Notifications
You must be signed in to change notification settings - Fork 562
fix: install VPA CRD directly on clusterfor bundle e2e test #1637
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: install VPA CRD directly on clusterfor bundle e2e test #1637
Conversation
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.
Thanks for taking the time to look at this.
It does make me wonder how this would ever have passed in our upstream tests, was the VPA CRD pard of the bundle?
Yes, originally it was included in the bundle as a provided API on the busybox CSV |
/retest |
5b14993
to
dd09213
Compare
Turns out the name of the priority class object changed, that's why we were seeing those additional 404 errors. Changed to the correct name in this PR as well. |
/test unit |
/retest |
@@ -0,0 +1,64 @@ | |||
apiVersion: apiextensions.k8s.io/v1beta1 |
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.
Note: we'll want to add a make rule to x.mk
to regenerate this.
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.
Looks good. Thanks for fixing this up! I do think we'll want to tidy up and revisit the underlying problem of CR and CRD in that same bundle, but that can come in a follow up.
/lgtm
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: exdx, njhale 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 |
/retest Please review the full test history for this PR and help us cut down flakes. |
Description of the change:
This fix installs the VPA CRD on-cluster directly (instead of providing it in the bundle) in the bundle e2e test. There is a check to ensure the VPA CRD is not already present. The index contents were updated alongside this PR, to remove the packaged CRD.
Motivation for the change:
Reviewer Checklist
/docs