Skip to content
This repository has been archived by the owner on Jul 28, 2021. It is now read-only.

Failed to list *v1.Policy: the server could not find the requested resource (get policies.security.cloud.ibm.com) #67

Open
pnagleIBM opened this issue Aug 27, 2020 · 1 comment

Comments

@pnagleIBM
Copy link

Hello, we've had this adapter deployed for quite a while now, and it's always worked very well. However, we've hit an issue in the past few days.

In this Istio appid adapter (appidentityandaccessadapter) we are seeing a lot of log file entries like this:

E0825 11:30:13.242798 1 reflector.go:125] pkg/mod/k8s.io/[email protected]/tools/cache/reflector.go:98: Failed to list *v1.Policy: the server could not find the requested resource (get policies.security.cloud.ibm.com)

And when I try to do a deployment via a helm chart I am seeing this error

Error: unable to build kubernetes objects from release manifest: unable to recognize "": no matches for kind "Policy" in version "security.cloud.ibm.com/v1"

We updated kubernetes to version v1.16.14+IKS recently.

Anyone got any clues as to how I can fix this?

@pnagleIBM
Copy link
Author

The only other possibly relevant message in the log file is

{"level":"info","ts":"2020-08-27T11:04:15.928Z","caller":"adapter/adapter.go:74","msg":"No OIDC/JWT policies configured","source":"appidentityandaccessadapter-adapter"}

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant