Skip to content

Conversation

@rene-dekker
Copy link
Member

Cherry-pick history

On OCP 4.20, the apiserver would show error:
"time="2026-01-15T15:29:01Z" level=error msg="Failed to watch" error="failed to list config.openshift.io/v1, Resource=infrastructures: infrastructures.config.openshift.io is forbidden: User "system:serviceaccount:calico-system:calico-apiserver" cannot list resource "infrastructures" in API group "config.openshift.io" at the cluster scope" klog-logger=calico-apiserver reflector="pkg/mod/k8s.io/client-go@v0.33.6/tools/cache/reflector.go:285" type="config.openshift.io/v1, Resource=infrastructures""

Added a required permission for setting up watches in the calico-apiserver on OCP 4.20

On OCP 4.20, the apiserver would show error:
 "time="2026-01-15T15:29:01Z" level=error msg="Failed to watch" error="failed to list config.openshift.io/v1, Resource=infrastructures: infrastructures.config.openshift.io is forbidden: User \"system:serviceaccount:calico-system:calico-apiserver\" cannot list resource \"infrastructures\" in API group \"config.openshift.io\" at the cluster scope" klog-logger=calico-apiserver reflector="pkg/mod/k8s.io/client-go@v0.33.6/tools/cache/reflector.go:285" type="config.openshift.io/v1, Resource=infrastructures""
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants