Unauthorized error while listing api-resources
Issue
- Unable to retrieve the complete list of server API's.
-
Getting error when executing
oc api-resources
command to see all API resources:$ oc api-resources -v6 [...] helpers.go:119] error: unable to retrieve the complete list of server APIs: metrics.k8s.io/v1beta1: Unauthorized [...]
Environment
- Red Hat OpenShift Container Platform (OCP) 3.11
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.