-
Notifications
You must be signed in to change notification settings - Fork 593
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
KongIngress and Ingress not combined on kong routes when annotation is used to pickup KongIngress #56
Comments
Spent some time yesterday trying to use the annotation to point to a Looking at the code, it appears that getKongPlugin is being used to retrieve all types of CRD defined in annotations, where getKongIngress should be used for these. |
Came to report the same thing. I couldn't get this to work at all when using the annotation. Like @devdavidkarlsson mentioned, the name matching works better but I was still unable to get changes to be picked up until I delete/recreate the Ingress resource after the KongIngress is updated. |
Hi all, Thank you for the report. |
I think the annotation that is document is incorrect. As per docs, the annotation should be Can you guys any of you try that? Thanks! |
Yep, that was it! It still doesn't pick up changes unless I delete/recreate the |
Nice! I will make a PR to update the documentaion.
This was left as a future TODO in the past in the code base. I guess it warrants another issue so please open one up. Thank you for trying the above annotation! Stay tuned for fixes. |
BUG REPORT
Kong Ingress controller version:
0.0.4
Kubernetes version (use
kubectl version
):Environment:
uname -a
): OSX 10.12.6What happened:
The KongIngress does not update the routes as it should, strip_path still false etc.
What you expected to happen:
strip_path
and the other activated features from the KongIngress should be applied to the service.How to reproduce it (as minimally and precisely as possible):
https://github.com/devdavidkarlsson/kubernetes-ingress-controller/blob/master/docs/examples/externalnamestrippath.md
Anything else we need to know:
Naming the KongIngress to the same as the ingress seems to work better.
The text was updated successfully, but these errors were encountered: