You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello.
I have a web app that provides links to all system's dashboards for user's convenience.
It has a button for kubernetes-dashboard too.
When a user clicks on a button, i would like to open a new page with Kubernetes dashboard and i would like to automatically authenticate user. ServiceAccount token would be generated every time.
When I test this with Requestly it works. When I add generated token to haproxy it works. But I want the token to be dynamic.
I tried using the following format https://k8s-dashboard/dashboard/?token=
dashboard didn't like it. haproxy had issues extracting the token with urlp(token). couldn't get it to work.
I tried to pass request header in my app's backend but that didn't work either.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hello.
I have a web app that provides links to all system's dashboards for user's convenience.
It has a button for kubernetes-dashboard too.
When a user clicks on a button, i would like to open a new page with Kubernetes dashboard and i would like to automatically authenticate user. ServiceAccount token would be generated every time.
When I test this with Requestly it works. When I add generated token to haproxy it works. But I want the token to be dynamic.
I tried using the following format https://k8s-dashboard/dashboard/?token=
dashboard didn't like it. haproxy had issues extracting the token with urlp(token). couldn't get it to work.
I tried to pass request header in my app's backend but that didn't work either.
Any suggestions would be appreciated.
Thanks
Beta Was this translation helpful? Give feedback.
All reactions