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
examples: Fix YAML error backendRefs in HTTP Header Modifier #27871
examples: Fix YAML error backendRefs in HTTP Header Modifier #27871
Conversation
Commit 34cd9a88c82755bf24c6135f1b953a96b90ff6ad does not match "(?m)^Signed-off-by:". Please follow instructions provided in https://docs.cilium.io/en/stable/contributing/development/contributing_guide/#developer-s-certificate-of-origin |
Hi @nvibert , I did the setup step by step as you wrote, just found one mirror typo issue. Have time to review my change ? ;-) |
Let me check 👍 |
Yep, @haiyuewa - you're absolutely correct. Well spotted ! I don't have reviewers rights but if I had, I would approve it 😅 |
The use case "HTTP Header Modifier" has wrong 'backendRefs' service name: $kubectl describe HTTPRoute header-http-echo Message: Service "echo" not found Observed Generation: 1 Reason: BackendNotFound Status: False The right service name should be "echo-1", which has port number 8080: $kubectl describe HTTPRoute header-http-echo Message: Service reference is valid Observed Generation: 1 Reason: ResolvedRefs Status: True Type: ResolvedRefs Fixes: bb50725 ("Header Modifier and Splitting use cases") Signed-off-by: Haiyue Wang <haiyue.wang@intel.com>
/test |
thanks for contribution! |
The commit bb50725 ("Header Modifier and Splitting use cases") used wrong 'backendRefs' service name setting for Header Modifier HTTPRoute.
kubectl describe HTTPRoute header-http-echo
Message: Service "echo" not found
Observed Generation: 1
Reason: BackendNotFound
Status: False
The demo has two services: "echo-1" with 8080, "echo-2" with 8090. Fix the wrong name:
kubectl describe HTTPRoute header-http-echo
Message: Service reference is valid
Observed Generation: 1
Reason: ResolvedRefs
Status: True
Type: ResolvedRefs