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

Effective permissions of a running application instance #1231

Open
Tracked by #683
devdattakulkarni opened this issue Apr 22, 2024 · 0 comments
Open
Tracked by #683

Effective permissions of a running application instance #1231

devdattakulkarni opened this issue Apr 22, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@devdattakulkarni
Copy link
Contributor

We should provide a kubectl plugin to find out the effective permissions of a Helm release.

KubePlus creates each application instance (Helm release) in a separate Namespace. The ServiceAccount with which this Helm release is running is scoped to this Namespace. While this provides some assurance of the runtime permissions that the Helm release is running with, it will be helpful to provide a kubectl plugin for this.

kubectl showpermissions <Resource-Composition> <Resource-Instance>

This should find out the ServiceAccount with which the underlying Helm release is running, and then query rolebinding/cluster rolebindings to find out what resources is this ServiceAccount a subject for.

@devdattakulkarni devdattakulkarni added the enhancement New feature or request label Apr 22, 2024
@devdattakulkarni devdattakulkarni mentioned this issue May 14, 2024
16 tasks
@devdattakulkarni devdattakulkarni changed the title kubectl plugin to find out the effective permissions of a Helm release Effective permissions of a running application instance May 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant