Skip to content

failed to list *v1.Namespace: the server could not find the requested resource #862

@riddhichheda03

Description

@riddhichheda03

Hi,
We are trying to deploy reloader on openshift v4.16 and we are using namespaceselector to monitor specific namespaces. And we have given all the necessary access to the SA.
We are getting below error:
time="2025-03-06T14:19:39Z" level=info msg="Starting Controller to watch resource type: secrets"
W0306 14:19:39.762652 1 reflector.go:561] pkg/mod/k8s.io/client-go@v0.31.1/tools/cache/reflector.go:243: failed to list *v1.Namespace: the server could not find the requested resource
E0306 14:19:39.762726 1 reflector.go:158] "Unhandled Error" err="pkg/mod/k8s.io/client-go@v0.31.1/tools/cache/reflector.go:243: Failed to watch *v1.Namespace: failed to list *v1.Namespace: the server could not find the requested resource" logger="UnhandledError"

Could you please help us on this?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions