Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

can't log in the dashboard #129

Open
vilnitsky opened this issue Nov 2, 2024 · 0 comments
Open

can't log in the dashboard #129

vilnitsky opened this issue Nov 2, 2024 · 0 comments

Comments

@vilnitsky
Copy link

kubernetes is set with nginx controller + metallb LB

I have managed to setup openunison with okta
In okta I got a group called "k8s-admins" which is assigned upon authentication
Things look good so far, but for some reason I can't access the dashboard. I see the API endpoints return the error
MSG_LOGIN_UNAUTHORIZED_ERROR

I have also set the following rolebinding:

apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRoleBinding
metadata:
name: kubernetes-dashboard
subjects:

  • kind: Group
    name: k8s-admins
    roleRef:
    kind: ClusterRole
    name: cluster-admin
    apiGroup: rbac.authorization.k8s.io

Can't figure out what's wrong. Could you please help?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant