-
Bug
-
Resolution: Done-Errata
-
Normal
-
4.16
-
Low
-
No
-
3
-
CFE Sprint 253
-
1
-
Rejected
-
False
-
-
N/A
-
Release Note Not Required
-
In Progress
Description of problem:
should reduce error message details for Not Found secret when edit/patch route with spec.tls.externalCertificate
Version-Release number of selected component (if applicable):
4.16.0-0.ci.test-2024-05-13-005506-ci-ln-05s0z32-latest
How reproducible:
100%
Steps to Reproduce:
1. enable TP feature "RouteExternalCertificate" 2. create pod,svc and route 3. oc -n hongli patch route myedge --type=merge --patch='{"spec":{"tls":{"externalCertificate":{"name": "newtls"}}}}'
Actual results:
the error message: The Route "myedge" is invalid: spec.tls.externalCertificate: Not found: errors.StatusError{ErrStatus:v1.Status{TypeMeta:v1.TypeMeta{Kind:"", APIVersion:""}, ListMeta:v1.ListMeta{SelfLink:"", ResourceVersion:"", Continue:"", RemainingItemCount:(*int64)(nil)}, Status:"Failure", Message:"secrets \"newtls\" not found", Reason:"NotFound", Details:(*v1.StatusDetails)(0xc0077e25a0), Code:404}}
Expected results:
something like: `spec.tls.externalCertificate: Not found: "secrets \"newtls\" not found"`
Additional info:
discuss in thread of https://redhat-internal.slack.com/archives/C06EK9ZH3Q8/p1715243443244879
- is related to
-
CFE-1020 Route controller design for router + secret monitor integration
- Closed
- links to
-
RHEA-2024:0041 OpenShift Container Platform 4.16.z bug fix update