Skip to content

feat: cli option for --as-group - #224

Merged
LeaveMyYard merged 3 commits into
robusta-dev:improve-limited-permissionsfrom
rohank07:improve-limited-permissions
Mar 19, 2024
Merged

LeaveMyYard merged 3 commits into
robusta-dev:improve-limited-permissionsfrom
rohank07:improve-limited-permissions

Conversation

@rohank07

@rohank07 rohank07 commented Mar 4, 2024 •

Copy link
Copy Markdown
Contributor

Add --as-group CLI flag if users are not using a group instead of a service account when using per-namespace features

part-of #220

@CLAassistant

CLAassistant commented Mar 4, 2024 •

Copy link
Copy Markdown

CLA assistant check
All committers have signed the CLA.

@aantn

aantn commented Mar 5, 2024

Copy link
Copy Markdown
Contributor

@rohank07 is it possible to add a file under tests with instructions for testing this? (To the degree that it is relevant, please copy the format in the other YAML file there for --as.)

@LeaveMyYard
LeaveMyYard merged commit add2056 into robusta-dev:improve-limited-permissions Mar 19, 2024
LeaveMyYard pushed a commit that referenced this pull request Mar 21, 2024
* feat: cli option for --as-group

* add: as-group example
LeaveMyYard added a commit that referenced this pull request Mar 26, 2024
* Add --as option to impersonate a specific user

* Update test case

* Don't exit if the user lacks permissions to auto-discover prometheus

* Add a comment

* Add support for HPA w/o cluster-level permissions

* feat: cli option for --as-group (#224)

* feat: cli option for --as-group

* add: as-group example

* Improve a message in case of API error

* Return the debug log with found items in cluster

---------

Co-authored-by: Robusta Runner <[email protected]>
Co-authored-by: Rohan Katkar <[email protected]>
Co-authored-by: LeaveMyYard <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants