-
Notifications
You must be signed in to change notification settings - Fork 590
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
Reject negative Retry config #4216
Reject negative Retry config #4216
Conversation
A user can specify a negative number of retries without getting any validation error. This PR adds a check to validate that `deliverySpec.retry` is a non negative integer. Signed-off-by: Pierangelo Di Pilato <pierangelodipilato@gmail.com>
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: pierDipi 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 |
The following is the coverage report on the affected files.
|
Ref: #4165
/retest |
The following jobs failed:
Failed non-flaky tests preventing automatic retry of pull-knative-eventing-upgrade-tests:
|
Ref: #4165
/retest |
It hasn't been backported to 0.18, so the upgrade test fails when it installs eventing from the latest public release. |
From logs here: https://prow.knative.dev/view/gs/knative-prow/pr-logs/pull/knative_eventing/4216/pull-knative-eventing-upgrade-tests/1313122358009008128#1:build-log.txt%3A137, I see:
|
/lgtm |
A user can specify a negative number of retries without getting any
validation error. This PR adds a check to validate that
deliverySpec.retry
is a non negative integer.Proposed Changes
Release Note