Initially Kubermatic does not know about any user that can access the Dashboard, because those are managed by the configured OIDC.
When a user authenticates for the first time at the Dashboard, an internal User representation is created based on the values provided by the OIDC.
Example User representation:
name: Jane Doe
After the installation of Kubermatic Kubernetes Platform the first account that authenticates at the Dashboard is elected as an admin.
The account is then capable of setting admin permissions via the dashboard .
Granting admin permission via kubectl
Make sure the account logged in once at the Kubermatic Dashboard.
Now you can edit the user with
kubectl edit user command in the master cluster.
admin flag to
true will provide admin access to the user.