Skip to content

Allow velero cli more kubectl flag access (specifically --as && --as-group) #3939

Open
@georgettica

Description

Describe the problem/challenge you have
When running the velero cli some commands require imporsonation (the --as flag) which is not exposed via the cli

Describe the solution you'd like
That the cli tooling will use the official tooling like is done here
https://github.com/dastergon/kubectl-janitor/blob/6799fcccc2ace001634e177c5e4d1805496e4276/pkg/cmd/janitor.go#L46

Anything else you would like to add:
I can contact @dastergon to help migrate to this format, but I wanted to ask your opinion before creating a PR

Environment:

N/A

This is a feature request and is currently happening on the latest version of the velero cli

Vote on this issue!

This is an invitation to the Velero community to vote on issues, you can see the project's top voted issues listed here.
Use the "reaction smiley face" up to the right of this comment to vote.

  • 👍 for "The project would be better with this feature added"
  • 👎 for "This feature will not enhance the project in a meaningful way"

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions