Changing from ClusterRole to Role

We cannot use ClusteRole due to security policy. So we have to change it to Role, but I followed the existing documentation, but it doesn’t work. Is there any new way with the latest version?

please reply to me.

Thanks.

error message:
E1215 03:42:51.528835 1 reflector.go:127] pkg/mod/k8s.io/client-go@v0.19.0/tools/cache/reflector.go:156: Failed to watch *v1.KongIngress: failed to list *v1.KongIngress: kongingresses.configuration.konghq.com is forbidden: User “system:serviceaccount:api-01:kong” cannot list resource “kongingresses” in API group “configuration.konghq.com” at the cluster scope


© 2019 Kong Inc.    Terms  •  Privacy  •  FAQ