Skip to content

sapcc/helm-outdated-dependencies

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

Helm plugin to manage outdated dependencies of a Helm chart.

Examples:
  $ helm outdated-dependencies list <pathToChart> 										- Checks if there's a newer version of any dependency available in the specified repository.
  $ helm outdated-dependencies list <pathToChart> --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 <pathToChart> 							- Updates all outdated dependencies to the latest version found in the repository.
  $ helm outdated-dependencies update <pathToChart> --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 for the Github API.

Example:

helm outdated-dependencies update <pathToChart> --auto-update --author-name=sapcc-bot --author-email=sapcc-bot@sap.com

RELEASE

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