Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support shell environment without local browser access (e.g. Linux VM) #141

Open
ThormaehlenFred opened this issue Mar 24, 2022 · 1 comment
Labels
component/gardenctl Gardener CLI kind/enhancement Enhancement, improvement, extension lifecycle/rotten Nobody worked on this for 12 months (final aging stage)

Comments

@ThormaehlenFred
Copy link

ThormaehlenFred commented Mar 24, 2022

What would you like to be added:
Support shell environment without local browser access (e.g. Linux VM)

Why is this needed:
On a remote Linux VM, there is no local browser access available. In this case OIDC login command should have the following additional parameter:

- --grant-type=authcode-keyboard

For the Garden clusters this can be added manual (documentation needed) but for seed clusters this should be provided automatically in the downloaded kubeconfig.yaml files.

Maybe a configuration property in gardenctlv2 might make sense.
Note: A file watch might not be the best solution, because it would be a OS specific solution and not generic.

Even better it would be if no separate browser window at all would be required but a classic Linux browser in the shell like w3m would be raised and the client certificate should be usable. Then the code would be displayed and could be copied.

@ThormaehlenFred ThormaehlenFred added component/gardenctl Gardener CLI kind/enhancement Enhancement, improvement, extension labels Mar 24, 2022
@gardener-robot gardener-robot added the lifecycle/stale Nobody worked on this for 6 months (will further age) label Sep 21, 2022
@petersutter
Copy link
Member

Hi @ThormaehlenFred , do you happen to remember why the --grant-type=auto was not working?

@gardener-robot gardener-robot added lifecycle/rotten Nobody worked on this for 12 months (final aging stage) and removed lifecycle/stale Nobody worked on this for 6 months (will further age) labels Aug 9, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component/gardenctl Gardener CLI kind/enhancement Enhancement, improvement, extension lifecycle/rotten Nobody worked on this for 12 months (final aging stage)
Projects
None yet
Development

No branches or pull requests

3 participants