-
Notifications
You must be signed in to change notification settings - Fork 75
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
Catch whitespace csv.spec.provider.name values #272
Catch whitespace csv.spec.provider.name values #272
Conversation
Signed-off-by: Jose R. Gonzalez <[email protected]>
This issue was discovered here -> redhat-openshift-ecosystem/community-operators-prod#1869 |
@komish Curious how does this PR affect |
@tedhtchang bundle validate policy intends to prevent an empty provider name, but a value containing space characters and no other characters is not being treated as an empty value. I can’t speak to the rest of the cases. |
@acornett21 we rely on |
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
/approve |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: joelanford, komish 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 |
e6998ff
into
operator-framework:master
This PR addresses cases where bundle validate fails to catch a provider.name value of
" "
as an empty value.This solution trims whitespace for the value before evaluating for emptiness to address this case.
Signed-off-by: Jose R. Gonzalez [email protected]