-
Notifications
You must be signed in to change notification settings - Fork 73
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
feat: add new validator to check/warning when the resource request is not defined for a container used/shipped in the bundle #197
feat: add new validator to check/warning when the resource request is not defined for a container used/shipped in the bundle #197
Conversation
errStrings []string | ||
warnStrings []string | ||
}{ | ||
{ |
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 it th exercising the other error paths as well, e.g. when the bundle is nil, or the bundle.CSV is nil, etc.
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.
also when csv.Spec.InstallStrategy.StrategySpec.DeploymentSpecs
is nil
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.
Ideally yes, I agree.
Good point done. 🥇
thank you
/approve This looks reasonable to me. Per's comments seem relevant, but other than that I'm fine with merging this. |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: camilamacedo86, kevinrizza 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 |
/lgtm |
Description
Add a new validator that will check the resources of the containers shipped on the bundle
Motivation
Closes: #172