Notifications

8 views

Description

Symptoms

While running kubernetes discovery below error can be seen in discovery logs:

 However, we're getting 403 error with message: 
User \“system:anonymous\” cannot get v1 at the cluster scope”,“reason”:“Forbidden”,“details”:{“name”:“namespaces”,“kind”:“v1”},“code”:403}

Cause

OpenShift kubernetes does not support basic authentication. Bear Token is required for Authentication.


https://docs.openshift.com/container-platform/3.9/rest_api/index.html

Resolution

Kubernetes credentials need to be configured with bearer token option:

https://docs.servicenow.com/bundle/store-servicenow-platform/page/administer/integrationhub/task/configure-kubernetes.html

 

Article Information

Last Updated:2019-09-06 10:01:35
Published:2019-09-06