ElasticSearch unable to start with error "cannot create tokenreviews.authentication.k8s.io at the cluster scope"
Issue
The ElasticSearch pod fail to start because of the following error:
unable to load OpenShift configuration: unable to retrieve authentication information for tokens: User "system:serviceaccount:logging:aggregated-logging-elasticsearch" cannot create tokenreviews.authentication.k8s.io at the cluster scope: User "system:serviceaccount:logging:aggregated-logging-elasticsearch" cannot create tokenreviews.authentication.k8s.io at the cluster scope (post tokenreviews.authentication.k8s.io)
Environment
Openshift Container Platform 3.7 and above
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.