All Projects → maorfr → helm-inject

maorfr / helm-inject

Licence: other
Inject additional configurations during Helm upgrade

Programming Languages

go
31211 projects - #10 most used programming language
Makefile
30231 projects
shell
77523 projects

Projects that are alternatives of or similar to helm-inject

helm-spray
Helm plugin for installing or upgrading sub-charts from an umbrella-chart using dependency orders
Stars: ✭ 64 (+276.47%)
Mutual labels:  helm, helm-plugin
helm-unittest
BDD styled unit test framework for Kubernetes Helm charts as a Helm plugin.
Stars: ✭ 276 (+1523.53%)
Mutual labels:  helm, helm-plugin
helm-github
A Helm plugin to install raw Helm Charts from Github
Stars: ✭ 54 (+217.65%)
Mutual labels:  helm, helm-plugin
helm-schema-gen
So that you don't have to write values.schema.json by hand from scratch for your Helm 3 charts. [CURRENTLY NOT MAINTAINED]
Stars: ✭ 104 (+511.76%)
Mutual labels:  helm, helm-plugin
helm-whatup
A Helm plugin to help users determine if there's an update available for their installed charts.
Stars: ✭ 37 (+117.65%)
Mutual labels:  helm, helm-plugin
hull
The incredible HULL - Helm Uniform Layer Library - is a Helm library chart to improve Helm chart based workflows
Stars: ✭ 66 (+288.24%)
Mutual labels:  helm, helm-plugin
helm-namespace
Namespace auto-creation for Helm 3
Stars: ✭ 29 (+70.59%)
Mutual labels:  helm, helm-plugin
helm-local
Helm plugin to run Tiller as a local daemon
Stars: ✭ 22 (+29.41%)
Mutual labels:  helm, helm-plugin
helm-edit
Edit a Helm release
Stars: ✭ 109 (+541.18%)
Mutual labels:  helm, helm-plugin
helm-github
Implement a Helm chart repository with GitHub pages
Stars: ✭ 18 (+5.88%)
Mutual labels:  helm, helm-plugin
helm-starter
A helm plugin for managing chart starters.
Stars: ✭ 32 (+88.24%)
Mutual labels:  helm, helm-plugin
moadsd-ng
The MOADSD-NG project does provide a simple way to setup a hybrid cloud security demo, playground and learning environment within the clouds.
Stars: ✭ 13 (-23.53%)
Mutual labels:  helm, linkerd
helm-backup
Helm plugin which performs backup/restore of releases in a namespace to/from a file
Stars: ✭ 70 (+311.76%)
Mutual labels:  helm, helm-plugin
helm-mapkubeapis
This is a Helm plugin which map deprecated or removed Kubernetes APIs in a release to supported APIs
Stars: ✭ 287 (+1588.24%)
Mutual labels:  helm, helm-plugin
helm-ssm
Injects values from AWS SSM parameters on the values.yaml file
Stars: ✭ 43 (+152.94%)
Mutual labels:  helm, helm-plugin
helm-certgen
Helm plugin for generation of TLS certificates
Stars: ✭ 15 (-11.76%)
Mutual labels:  helm, helm-plugin
gitops-helm-workshop
Progressive Delivery for Kubernetes with Flux, Helm, Linkerd and Flagger
Stars: ✭ 59 (+247.06%)
Mutual labels:  helm, linkerd
Helm-Cheat-Sheet
A cheat sheet for Helm commands.
Stars: ✭ 72 (+323.53%)
Mutual labels:  helm
kubernetes
Kubernetes/Helm configs for ReportPortal
Stars: ✭ 66 (+288.24%)
Mutual labels:  helm
vesselize
⛵ A JavaScript IoC container that works seamlessly with Vue.js and React.
Stars: ✭ 22 (+29.41%)
Mutual labels:  injection

Helm Inject Plugin

This is a Helm plugin which provides the ability to inject additional configuration during Helm release upgrade. It works like helm upgrade, but with a --inject flag.

The default injector is linkerd, but you can specify --injector to use any other executable in your $PATH with an inject command such as:

myInjector inject /path/to/file.yaml

Usage

Inject linkerd proxy sidecar during Helm upgrade

$ helm inject upgrade [flags]

Flags:

$ helm inject upgrade --help
upgrade a release including inject

Usage:
  inject upgrade [RELEASE] [CHART] [flags]

Flags:
      --command string         injection command to be used (default "inject")
      --debug                  enable verbose output
      --dry-run                simulate an upgrade
  -h, --help                   help for upgrade
      --inject-flags strings   flags to be passed to injector, without leading "--" (can specify multiple). Example: "--inject-flags tls=optional,skip-inbound-ports=25,skip-inbound-ports=26"
      --injector string        injector to use (must be pre-installed) (default "linkerd")
  -i, --install                if a release by this name doesn't already exist, run an install
      --kubecontext string     name of the kubeconfig context to use
      --namespace string       namespace to install the release into (only used if --install is set). Defaults to the current kube config namespace
      --set stringArray        set values on the command line (can specify multiple)
      --timeout int            time in seconds to wait for any individual Kubernetes operation (like Jobs for hooks) (default 300)
      --tls                    enable TLS for request
      --tls-cert string        path to TLS certificate file (default: $HELM_HOME/cert.pem)
      --tls-key string         path to TLS key file (default: $HELM_HOME/key.pem)
  -f, --values stringArray     specify values in a YAML file or a URL (can specify multiple)

Install

$ helm plugin install https://github.com/maorfr/helm-inject

The above will fetch the latest binary release of helm inject and install it.

Developer (From Source) Install

If you would like to handle the build yourself, instead of fetching a binary, this is how recommend doing it.

First, set up your environment:

  • You need to have Go installed. Make sure to set $GOPATH
  • If you don't have Glide installed, this will install it into $GOPATH/bin for you.

Clone this repo into your $GOPATH. You can use go get -d github.com/maorfr/helm-inject for that.

$ cd $GOPATH/src/github.com/maorfr/helm-inject
$ make bootstrap build
$ SKIP_BIN_INSTALL=1 helm plugin install $GOPATH/src/github.com/maorfr/helm-inject

That last command will skip fetching the binary install and use the one you built.

Notes

  • Not all helm upgrade flags are added. If you need any other flags from helm upgrade - you are welcome to open an issue, or even submit a PR.
  • If you want to pass any flags to the injector - use the --inject-flags flag.
  • If you are using the --kube-context flag, you need to change it to --kubecontext, since helm plugins drop this flag.

Examples

Check out the first example of a custom executable in the examples section!

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].