robusta icon indicating copy to clipboard operation
robusta copied to clipboard

Support `--context` and `--as`

Open bear-redhat opened this issue 3 years ago • 1 comments
trafficstars

Is your feature request related to a problem? We are managing multiple clusters, and all of them are using sudo to run privileged operations. Currently, the CLI does not support switching cluster and switching users. The former one makes our lives harder and the second issue actually rendered many subcommands of the CLI useless (since it cannot execute privileged operations).

Describe the solution you'd like

  1. support --context parameter to switch contexts
  2. support --as parameter to assume users

Describe alternatives you've considered N/A

Additional context N/A

bear-redhat avatar Nov 18 '22 18:11 bear-redhat

@bear-redhat is this still relevant? We have support for the context already, right? Do you still need --as?

aantn avatar Feb 22 '24 14:02 aantn