appuio / component-openshift4-authentication

Commodore component to manage authentication on OpenShift 4
BSD 3-Clause "New" or "Revised" License
2 stars 0 forks source link

Fix console impersonation #90

Closed bastjan closed 9 months ago

bastjan commented 9 months ago

The console started checking with the following SelfSubjectAccessReview:

{
  "kind": "SelfSubjectAccessReview",
  "apiVersion": "authorization.k8s.io/v1",
  "metadata": {
    "creationTimestamp": null,
  },
  "spec": {
    "resourceAttributes": {
      "verb": "impersonate",
      "group": "authorization.k8s.io",
      "resource": "users",
      "name": "cluster-admin"
    }
  },
  "status": {
    "allowed": false
  }
}

Both users.authorization.k8s.io and users seem to be correct to receive impersonation rights in the API server.

Checklist