and then generating credentials the following way:
kubectl create token skooner-sa
The problem is that the token that gets generated is valid the first time I enter it in the login page, but then after the first use I get a 401 Api request error: - Unauthorized response blocking my access.
Another interesting thing is that I suspect that an error banner is supposed to appear, but it only flashes for a few milliseconds before disappearing.
Logs for a failed attempt look like the following:
2024-09-27T18:47:22.593Z GET / 200 │
2024-09-27T18:47:32.617Z GET / 200 │
2024-09-27T18:47:42.593Z GET / 200 │
[HPM] POST /apis/authorization.k8s.io/v1/selfsubjectrulesreviews -> https://<redacted>:443 │
[HPM] POST /apis/authorization.k8s.io/v1/selfsubjectrulesreviews -> https://<redacted>:443 │
2024-09-27T18:47:50.346Z POST /apis/authorization.k8s.io/v1/selfsubjectrulesreviews 401 │
2024-09-27T18:47:50.347Z POST /apis/authorization.k8s.io/v1/selfsubjectrulesreviews 401 │
[HPM] POST /apis/authorization.k8s.io/v1/selfsubjectrulesreviews -> https://<redacted>:443 │
2024-09-27T18:47:50.415Z POST /apis/authorization.k8s.io/v1/selfsubjectrulesreviews 401 │
[HPM] POST /apis/authorization.k8s.io/v1/selfsubjectrulesreviews -> https://<redacted>:443 │
2024-09-27T18:47:50.426Z POST /apis/authorization.k8s.io/v1/selfsubjectrulesreviews 401 │
2024-09-27T18:47:50.432Z GET / 304
Hi, I’m deploying
skooner
in ak3s
cluster in with the following configuration:and then generating credentials the following way:
The problem is that the token that gets generated is valid the first time I enter it in the login page, but then after the first use I get a 401
Api request error: - Unauthorized
response blocking my access.Another interesting thing is that I suspect that an error banner is supposed to appear, but it only flashes for a few milliseconds before disappearing.
Logs for a failed attempt look like the following: