You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jan 22, 2021. It is now read-only.
Not all annotations work. Setting string.service.tyk.io/proxy.listen_path: "/petstore/" does not set it correctly in the API Definition. Even though we see it detected by the controller in the logs.
I looked in the docs to see whether there was a documented limitation but found nothing. Also, if there were I would expect it to be reflected in the controller logs.
I need this to be able to control the proxying path. I tried with slug but as you said, this cannot be done at the moment. This was the other option I found. How could I configure that?
When modifying one or multiple annotations, for some reason the values are reset to their default and not the updated value. Again, logs show the controller picked up the change but the end result is not the expected one.
-> Result: API Definition has provided values for the set fields.
B. Modify annotations of ingress and apply it
annotations:
kubernetes.io/ingress.class: tyk
bool.service.tyk.io/proxy.preserve_host_header: "true"
string.service.tyk.io/proxy.target_url: "http://httpbin.org" # change here
Result: Both proxy.preserve_host_header and proxy.target_url are somehow set back to their default value. In my case false and http://petstore.test:80 respectively.
The text was updated successfully, but these errors were encountered:
Annotation updates are picked up by the ingress controller and can be seen in the logs however, they are not actually being applied to the API definitions themselves. Will be addressing this item as part of K8 controller revamp.
From ticket 10558 - quite a bad bug. Some more unit tests to cover the templating are needed.
The Ingress Controller correctly picks up updates to annotations, based on the logs:
However a few issues remain:
string.service.tyk.io/proxy.listen_path: "/petstore/"
does not set it correctly in the API Definition. Even though we see it detected by the controller in the logs.I looked in the docs to see whether there was a documented limitation but found nothing. Also, if there were I would expect it to be reflected in the controller logs.
I need this to be able to control the proxying path. I tried with
slug
but as you said, this cannot be done at the moment. This was the other option I found. How could I configure that?"Demo":
A. Deploy ingress with following annotations
-> Result: API Definition has provided values for the set fields.
B. Modify annotations of ingress and apply it
Result: Both
proxy.preserve_host_header
andproxy.target_url
are somehow set back to their default value. In my casefalse
andhttp://petstore.test:80
respectively.The text was updated successfully, but these errors were encountered: