Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Improve error from readiness probe validation (#5385)
* Improve error from readiness probe validation As described in #5382, `failureThreshold` and `timeoutSeconds` in readinessprobe are disapplowed only when `periodSeconds` is zero. This patch improves the error. - Error message after this patch: ``` error: services.serving.knative.dev "hello-example" could not be patched: Internal error occurred: admission webhook "webhook.serving.knative.dev" denied the request: mutation failed: timeoutSeconds is disallowed when periodSeconds is zero: spec.template.spec.containers[0].readinessProbe.failureThreshold, spec.template.spec.containers[0].readinessProbe.periodSeconds ``` * Remove periodSeconds from path in readiness validation error
- Loading branch information