int128/kubelogin

using `--browser-command` with parameters

moafak opened this issue · 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