-
Bug
-
Resolution: Done
-
Critical
-
None
-
False
-
-
False
-
None
-
No
-
-
-
-
-
-
1.16.0-6
-
No
-
No
-
Yes
-
None
-
RHODS 1.17
Description of problem:
While using the RHODS dashboard logged in as a test user, I suddendly found myself logged in as `kube:admin` without having ever logged out of my user.
The GET request for status in the network tab of the browser does indeed show me as kube:admin
{
"kube":{
"currentContext":"inClusterContext",
"currentUser":{
"name":"inClusterUser",
"authProvider":{
"name":"tokenFile",
"config":{
"tokenFile":"/var/run/secrets/kubernetes.io/serviceaccount/token"
}
}
},
"namespace":"redhat-ods-applications",
"userName":"kube:admin",
"clusterID":"abd3747f-ea7b-4dcf-86bb-5083661bbfbe",
"clusterBranding":"dedicated",
"isAdmin":false,
"isAllowed":true
}
}


However kube:admin does not even exist in my cluster as a user (I'm on OSD)

I'm attaching all dashboard pods logs if they can be useful, however I didn't find anything in there when looking for kube:admin or similar.
Prerequisites (if any, like setup, operators/versions):
Latest RHODS 1.16 live build on OSD
Steps to Reproduce
- Unknown, happened randomly. rhn-support-bdattoma also reported seeing something similar on one of his clusters
Actual results:
Randomly logged in as a user who doesn't exist on the cluster
Expected results:
Always logged in as the user I chose
Reproducibility (Always/Intermittent/Only Once):
Intermittently
Build Details:
quay.io/llasmith/odh-operator-container-live:1.16.0-dashboard-kfnbc on OSD
Workaround:
Additional info:
- mentioned on