The 'accepts valid and rejects invalid VPA object' test here flaked:
[38;5;9m[FAILED] Admission controller did not inspect the object
Expected
<string>: VerticalPodAutoscaler.autoscaling.k8s.io "cert-vpa-invalid" is invalid: [spec.resourcePolicy.containerPolicies[0].minAllowed.requests: Invalid value: "object": spec.resourcePolicy.containerPolicies[0].minAllowed.requests in body must be of type integer,string: "object", <nil>: Invalid value: "": "spec.resourcePolicy.containerPolicies[0].minAllowed.requests" must validate at least one schema (anyOf), spec.resourcePolicy.containerPolicies[0].minAllowed.requests: Invalid value: "object": spec.resourcePolicy.containerPolicies[0].minAllowed.requests in body must be of type integer: "object", <nil>: Invalid value: null: some validation rules were not checked because the object was invalid; correct the existing errors to complete validation]
to match regular expression
<string>: .*admission webhook .*vpa.* denied the request:
for an unrelated PR #10175 and succeeded on the next run.
It seems that in this case the webhook validation was not hit and the error was returned from the API server?
test log
The 'accepts valid and rejects invalid VPA object' test here flaked:
for an unrelated PR #10175 and succeeded on the next run.
It seems that in this case the webhook validation was not hit and the error was returned from the API server?
test log