<p>After updating the ingress paths from '/' to '/test', the new path does not work and i still keep getting redirected to the old '/' path. Any ideas on how to update nginx-ingress controller for updated ingresses?</p>
<p>Update:
I get following in my ingress-controller logs</p>
<pre><code>kubectl logs --tail=10 nginx-ingress-controller-6b5498d8dc-vsdpl
E0923 17:03:11.440951       9 reflector.go:178] pkg/mod/k8s.io/client-go@v0.18.5/tools/cache/reflector.go:125: Failed to list *v1.Service: services is forbidden: User &quot;system:serviceaccount:default:nginx-ingress&quot; cannot list resource &quot;services&quot; in API group &quot;&quot; at the cluster scope
E0923 17:03:25.947663       9 reflector.go:178] pkg/mod/k8s.io/client-go@v0.18.5/tools/cache/reflector.go:125: Failed to list *v1.Endpoints: endpoints is forbidden: User &quot;system:serviceaccount:default:nginx-ingress&quot; cannot list resource &quot;endpoints&quot; in API group &quot;&quot; at the cluster scope
E0923 17:03:35.337064       9 reflector.go:178] pkg/mod/k8s.io/client-go@v0.18.5/tools/cache/reflector.go:125: Failed to list *v1beta1.Ingress: ingresses.networking.k8s.io is forbidden: User &quot;system:serviceaccount:default:nginx-ingress&quot; cannot list resource &quot;ingresses&quot; in API group &quot;networking.k8s.io&quot; at the cluster scope
E0923 17:03:39.800610       9 reflector.go:178] pkg/mod/k8s.io/client-go@v0.18.5/tools/cache/reflector.go:125: Failed to list *v1.Secret: secrets is forbidden: User &quot;system:serviceaccount:default:nginx-ingress&quot; cannot list resource &quot;secrets&quot; in API group &quot;&quot; at the cluster scope
E0923 17:03:45.983141       9 main.go:49] Error getting node 192.168.0.81: nodes &quot;192.168.0.81&quot; is forbidden: User &quot;system:serviceaccount:default:nginx-ingress&quot; cannot get resource &quot;nodes&quot; in API group &quot;&quot; at the cluster scope
E0923 17:03:57.179763       9 reflector.go:178] pkg/mod/k8s.io/client-go@v0.18.5/tools/cache/reflector.go:125: Failed to list *v1.ConfigMap: configmaps is forbidden: User &quot;system:serviceaccount:default:nginx-ingress&quot; cannot list resource &quot;configmaps&quot; in API group &quot;&quot; at the cluster scope
E0923 17:03:57.609798       9 reflector.go:178] pkg/mod/k8s.io/client-go@v0.18.5/tools/cache/reflector.go:125: Failed to list *v1.Endpoints: endpoints is forbidden: User &quot;system:serviceaccount:default:nginx-ingress&quot; cannot list resource &quot;endpoints&quot; in API group &quot;&quot; at the cluster scope
E0923 17:04:10.422852       9 reflector.go:178] pkg/mod/k8s.io/client-go@v0.18.5/tools/cache/reflector.go:125: Failed to list *v1.Service: services is forbidden: User &quot;system:serviceaccount:default:nginx-ingress&quot; cannot list resource &quot;services&quot; in API group &quot;&quot; at the cluster scope
E0923 17:04:20.552808       9 reflector.go:178] pkg/mod/k8s.io/client-go@v0.18.5/tools/cache/reflector.go:125: Failed to list *v1.Secret: secrets is forbidden: User &quot;system:serviceaccount:default:nginx-ingress&quot; cannot list resource &quot;secrets&quot; in API group &quot;&quot; at the cluster scope
E0923 17:04:24.767965       9 reflector.go:178] pkg/mod/k8s.io/client-go@v0.18.5/tools/cache/reflector.go:125: Failed to list *v1beta1.Ingress: ingresses.networking.k8s.io is forbidden: User &quot;system:serviceaccount:default:nginx-ingress&quot; cannot list resource &quot;ingresses&quot; in API group &quot;networking.k8s.io&quot; at the cluster scope
</code></pre>

devcloud
<p>The service account used by nginx ingress controller does not seem to have permission. use the below <code>clusterrolebinding</code></p>
<pre><code>kubectl create clusterrolebinding cluster-admin-binding --clusterrole=cluster-admin --serviceaccount=default:nginx-ingress
</code></pre>
<p>Just a note this is essentially giving cluster admin privilege to that service account and can be made more fine grained.</p>
