kubelogin icon indicating copy to clipboard operation
kubelogin copied to clipboard

using `--browser-command` with parameters

Open moafak opened this issue 1 year ago • 1 comments

Describe the question

How to set --browser-command with parameters for the browser?

To reproduce

Setting --browser-command=google-chrome works fine, however passing parameters to it is not working e.g. google-chrome --profile-directory='Profile 1'

error: could not open the browser: exec: "google-chrome --profile-directory='Profile 1'": executable file not found in $PATH

Please visit the following URL in your browser manually: http://localhost:8000

Your environment

  • OS: Pop os
  • kubelogin version: v1.27.0
  • kubectl version: v1.26.0

moafak avatar Mar 30 '23 05:03 moafak