{"id":19299988,"url":"https://github.com/cloudogu/helm-sudo","last_synced_at":"2025-06-21T03:40:07.972Z","repository":{"id":43794706,"uuid":"331564627","full_name":"cloudogu/helm-sudo","owner":"cloudogu","description":"A Helm plugin for running commands with the security privileges of another user","archived":false,"fork":false,"pushed_at":"2022-03-09T09:45:05.000Z","size":21,"stargazers_count":15,"open_issues_count":0,"forks_count":2,"subscribers_count":5,"default_branch":"main","last_synced_at":"2025-04-22T10:32:00.793Z","etag":null,"topics":["helm","helm-plugin","helm-plugins","kubernetes","sudo"],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/cloudogu.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2021-01-21T08:35:28.000Z","updated_at":"2025-04-15T13:38:31.000Z","dependencies_parsed_at":"2022-09-22T16:00:32.546Z","dependency_job_id":null,"html_url":"https://github.com/cloudogu/helm-sudo","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/cloudogu/helm-sudo","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cloudogu%2Fhelm-sudo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cloudogu%2Fhelm-sudo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cloudogu%2Fhelm-sudo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cloudogu%2Fhelm-sudo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cloudogu","download_url":"https://codeload.github.com/cloudogu/helm-sudo/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cloudogu%2Fhelm-sudo/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":261059030,"owners_count":23103948,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["helm","helm-plugin","helm-plugins","kubernetes","sudo"],"created_at":"2024-11-09T23:13:22.089Z","updated_at":"2025-06-21T03:40:02.953Z","avatar_url":"https://github.com/cloudogu.png","language":"Shell","readme":"# helm-sudo plugin\n\nA [helm](https://helm.sh) plugin that uses impersonating to execute helm-commands on clusters within the admin context.\n\n\u003cimg src=\"https://raw.githubusercontent.com/wiki/cloudogu/helm-sudo/helm-sudo-demo.gif\" alt=\"Demo gif\" width=\"618\" height=\"286\"\u003e \n\n\n\nFor questions or suggestions you are welcome to join us at our myCloudogu [community forum](https://community.cloudogu.com/c/kubernetes/54).\n\n[![Discuss it on myCloudogu](https://static.cloudogu.com/static/images/discuss-it.png)](https://community.cloudogu.com/c/kubernetes/54)\n\n## Installation\n\nInstall the plugin using the built-in plugin manager (see [releases](https://github.com/cloudogu/helm-sudo/releases)  for latest version):\n\n```\n# Installs latest commit\nhelm plugin install https://github.com/cloudogu/helm-sudo\n# Installs deterministic version\nhelm plugin install  https://github.com/cloudogu/helm-sudo --version=0.0.2\n``` \n\n---\n\n## Usage\n\nIts usage is pretty simple, just use \"sudo\" on your helm commands like so:\n\n```\nhelm sudo list \n```\n\nwhat 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. \n\nSo the plugin executes the following: \n\n```\nhelm --kube-as-user $USER --kube-as-group system:masters list\n```\n\nFlags will just be passed along to the command you are calling. \n\n**CAUTION: Due to the usage of this plugin, you will execute the helm command as admin on your cluster!**\n\nSyntax completion works with helm version 3.8.0 and up.\n\n---\n\n## Configuration\n\n| ENV_VAR  \t|   Default\t|   Description\t|   \n|---\t|---\t|---\t|\n|HELM_SUDO_PROMPT|   \tfalse |   If set to true you will be prompted to acknowledge the usage of the helm-command on the current context as admin\t|\n\n\n## Similar projects\n* [postfinance/kubectl-sudo](https://github.com/postfinance/kubectl-sudo): Same functionality as helm-sudo for kubectl\n* [cloudogu/sudo-kubeconfig](https://github.com/cloudogu/sudo-kubeconfig): Create a sudo kubeconfig for your current kubernetes context.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcloudogu%2Fhelm-sudo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcloudogu%2Fhelm-sudo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcloudogu%2Fhelm-sudo/lists"}