Closed raine closed 5 years ago
Just as I finish writing this issue, I realize this might be an issue with nginx-ingress-controller
version.
So, after changing the image to the latest version, quay.io/kubernetes-ingress-controller/nginx-ingress-controller:0.20.0
, nothing seems to break but annotations start working. 🎉
I updated the manifest to version 0.20.0 and changed everything related across the project.
Please be aware that the annotations prefix changed from ingress.kubernetes.io
to nginx.ingress.kubernetes.io
.
Hello. I've followed this guide for the most part, including the ingress setup, and the issue I've now encountered is that the nginx controller does not seem to be responding to any annotations I add to my Ingress.
I'm checking with
kubectl exec -it -n ingress nginx-ingress-controller-8cd96ddb8-sqfvl cat /etc/nginx/nginx.conf
what generated thenginx.conf
contains, and have confirmed withdiff
that adding or removing annotations have no impact on thenginx.conf
. Changing thepath
property in yaml does however change the respectivelocation <path> {
declaration in the config so the changes are being applied, just not the annotations.This my Ingress currently, where the intent is to have the path
/fillaripollari
send requests to my API as if they were coming from the root (hence the need for rewrite).Aside from rewrite not getting applied, the ingress is working perfectly from what I can tell.
Any ideas how to