cloudogu
helm-sudo
Shell

A Helm plugin for running commands with the security privileges of another user

Last updated Apr 15, 2025
15
Stars
2
Forks
0
Issues
0
Stars/day
Attention Score
1
Language breakdown
Shell 100.0%
Files click to expand
README

helm-sudo plugin

A helm plugin that uses impersonating to execute helm-commands on clusters within the admin context.

Demo gif

For questions or suggestions you are welcome to join us at our myCloudogu community forum.

Discuss it on myCloudogu

Installation

Install the plugin using the built-in plugin manager (see releases for latest version):

# Installs latest commit
helm plugin install https://github.com/cloudogu/helm-sudo

Installs deterministic version

helm plugin install https://github.com/cloudogu/helm-sudo --version=0.0.2

Usage

Its usage is pretty simple, just use "sudo" on your helm commands like so:

helm sudo list

what the plugin does is, it adds the --kube-as-user and --kube-as-group flags with your user ($USER) and system:masters group to the given helm command.

So the plugin executes the following:

helm --kube-as-user $USER --kube-as-group system:masters list

Flags will just be passed along to the command you are calling.

CAUTION: Due to the usage of this plugin, you will execute the helm command as admin on your cluster!

Syntax completion works with helm version 3.8.0 and up.


Configuration

| ENV_VAR | Default | Description | |--- |--- |--- | |HELMSUDOPROMPT| false | If set to true you will be prompted to acknowledge the usage of the helm-command on the current context as admin |

Similar projects

🔗 More in this category

© 2026 GitRepoTrend · cloudogu/helm-sudo · Updated daily from GitHub