Coder Social home page Coder Social logo

helm-sudo's Introduction

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
HELM_SUDO_PROMPT 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

helm-sudo's People

Contributors

phaenr avatar schnatterer avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

helm-sudo's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.