{"id":18640417,"url":"https://github.com/maorfr/helm-inject","last_synced_at":"2025-04-11T10:33:06.326Z","repository":{"id":98074867,"uuid":"150841170","full_name":"maorfr/helm-inject","owner":"maorfr","description":"Inject additional configurations during Helm upgrade","archived":false,"fork":false,"pushed_at":"2019-12-04T21:06:50.000Z","size":24,"stargazers_count":18,"open_issues_count":0,"forks_count":3,"subscribers_count":6,"default_branch":"master","last_synced_at":"2024-06-20T05:14:08.677Z","etag":null,"topics":["go","golang","helm","helm-plugin","injection","kubernetes","linkerd","plugin"],"latest_commit_sha":null,"homepage":null,"language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/maorfr.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-09-29T08:09:42.000Z","updated_at":"2023-02-18T01:35:09.000Z","dependencies_parsed_at":"2024-06-20T04:26:07.595Z","dependency_job_id":"e4cf30c9-3fc3-40b2-a06a-e50e427f6593","html_url":"https://github.com/maorfr/helm-inject","commit_stats":null,"previous_names":[],"tags_count":9,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maorfr%2Fhelm-inject","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maorfr%2Fhelm-inject/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maorfr%2Fhelm-inject/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maorfr%2Fhelm-inject/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/maorfr","download_url":"https://codeload.github.com/maorfr/helm-inject/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":223466443,"owners_count":17149770,"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":["go","golang","helm","helm-plugin","injection","kubernetes","linkerd","plugin"],"created_at":"2024-11-07T05:54:31.518Z","updated_at":"2024-11-07T05:54:31.972Z","avatar_url":"https://github.com/maorfr.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Helm Inject Plugin\n\nThis is a Helm plugin which provides the ability to inject additional configuration during Helm release upgrade. It works like\n`helm upgrade`, but with a `--inject` flag.\n\nThe default injector is [linkerd](https://linkerd.io/), but you can specify `--injector` to use any other executable in your $PATH with an `inject` command such as:\n```\nmyInjector inject /path/to/file.yaml\n```\n\n## Usage\n\nInject linkerd proxy sidecar during Helm upgrade\n\n```\n$ helm inject upgrade [flags]\n```\n\n### Flags:\n\n```\n$ helm inject upgrade --help\nupgrade a release including inject\n\nUsage:\n  inject upgrade [RELEASE] [CHART] [flags]\n\nFlags:\n      --command string         injection command to be used (default \"inject\")\n      --debug                  enable verbose output\n      --dry-run                simulate an upgrade\n  -h, --help                   help for upgrade\n      --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\"\n      --injector string        injector to use (must be pre-installed) (default \"linkerd\")\n  -i, --install                if a release by this name doesn't already exist, run an install\n      --kubecontext string     name of the kubeconfig context to use\n      --namespace string       namespace to install the release into (only used if --install is set). Defaults to the current kube config namespace\n      --set stringArray        set values on the command line (can specify multiple)\n      --timeout int            time in seconds to wait for any individual Kubernetes operation (like Jobs for hooks) (default 300)\n      --tls                    enable TLS for request\n      --tls-cert string        path to TLS certificate file (default: $HELM_HOME/cert.pem)\n      --tls-key string         path to TLS key file (default: $HELM_HOME/key.pem)\n  -f, --values stringArray     specify values in a YAML file or a URL (can specify multiple)\n```\n\n\n## Install\n\n```\n$ helm plugin install https://github.com/maorfr/helm-inject\n```\n\nThe above will fetch the latest binary release of `helm inject` and install it.\n\n### Developer (From Source) Install\n\nIf you would like to handle the build yourself, instead of fetching a binary, this is how recommend doing it.\n\nFirst, set up your environment:\n\n- You need to have [Go](http://golang.org) installed. Make sure to set `$GOPATH`\n- If you don't have [Glide](http://glide.sh) installed, this will install it into\n  `$GOPATH/bin` for you.\n\nClone this repo into your `$GOPATH`. You can use `go get -d github.com/maorfr/helm-inject`\nfor that.\n\n```\n$ cd $GOPATH/src/github.com/maorfr/helm-inject\n$ make bootstrap build\n$ SKIP_BIN_INSTALL=1 helm plugin install $GOPATH/src/github.com/maorfr/helm-inject\n```\n\nThat last command will skip fetching the binary install and use the one you built.\n\n### Notes\n\n* 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.\n* If you want to pass any flags to the injector - use the `--inject-flags` flag.\n* If you are using the `--kube-context` flag, you need to change it to `--kubecontext`, since helm plugins [drop this flag](https://github.com/helm/helm/blob/master/docs/plugins.md#a-note-on-flag-parsing).\n\n### Examples\n\nCheck out the first example of a custom executable in the [examples](/examples) section!","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmaorfr%2Fhelm-inject","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmaorfr%2Fhelm-inject","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmaorfr%2Fhelm-inject/lists"}