in kubernetes V 1.14.5 with ingress controller nginx-ingress-controller:0.21.0-rancher3 .I have below issue:
when userinfo api is called with internal service address (form inside cluster), it response fine (token is invalid). as below screenshot
but when that API is called with its ingress name, it responses with list of permission while token is revoked. both requests use same tokens
I think its related to cache inside Ingress and Ingress Controller but I cant disable it vi annotation configuration
2
Answers
I've found the solution.
the root cause was related to wso2is nginx mosuled, and cache was configured there. I change cache time in nginx configuration inside wso2is
If you are using the Nginx ingress controller you can use this snippet into the annotation
inside the configuration, you can keep the simple Nginx config