Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Problem

Create Role binding Unable to access Kubectl API through webapplication Kube API as anonymous user.

Cause

Anonymous user is not created with role to access Kube API

Fix

Create Role binding to access Kubectl API through webapplication as anonymous user

  • kubectl create rolebinding anonymous --clusterrole=cluster-admin --user=system:anonymous --namespace=default