Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/sapcc/helm-outdated-dependencies

Manage outdated Helm dependencies.
https://github.com/sapcc/helm-outdated-dependencies

dependency-management helm helm-charts helm-plugin

Last synced: 11 days ago
JSON representation

Manage outdated Helm dependencies.

Awesome Lists containing this project

README

        

Helm outdated dependencies
--------------------------

Helm plugin to list and update outdated dependencies of a Helm chart.

## Install

```
helm plugin install https://github.com/sapcc/helm-outdated-dependencies --version=master
```

## Usage

```bash
Helm plugin to manage outdated dependencies of a Helm chart.

Examples:
$ helm outdated-dependencies list - Checks if there's a newer version of any dependency available in the specified repository.
$ helm outdated-dependencies list --repositories repo1.corp,repo2.corp - Checks if there's a newer version of any dependency available only using the given repositories.

$ helm outdated-dependencies update - Updates all outdated dependencies to the latest version found in the repository.
$ helm outdated-dependencies update --increment-chart-version - Updates all outdated dependencies to the latest version found in the repository and increments the version of the Helm chart.
```

### Auto update

This plugin also provides a git integration to help contributing the updated version of the Helm chart generated by the `helm outdated-dependencies update ...` command to an upstream github.com repository.
This feature is enabled via the `--auto-update` flag.
Minor changes are directly committed to the master branch. Major and potentially breaking changes are submitted via pull requests (PR).
Using the flag `--only-pull-requests` prevents commits to master and will create a PR instead.

Requirements:
[1] Git command line tools.
[2] [Hub](https://github.com/github/hub) for the Github API.

Example:

```bash
helm outdated-dependencies update --auto-update --author-name=sapcc-bot [email protected]
```

## RELEASE

Update the version in the [plugin.yaml](plugin.yaml), export the `GORELEASER_GITHUB_TOKEN` (needs `repo` scope) and run `make release`.