Skip to content

Latest commit

 

History

History
28 lines (21 loc) · 1 KB

File metadata and controls

28 lines (21 loc) · 1 KB

helm-chart-update-check

Checks Docker hub for Docker images tag update. It compares the given Helm chart "appVersion" (which must be used as default version for the container image tag of the deployment) with the image tags on DockerHub.

Usage

Usage of hcuc:

  --debug
        Enable debug outputs
  --docker-hub-repo string
        DockHub repo to check tag versions
  --exclude-versions string
        Versions to exclude from check  (on multiple versions: separated by comma)
  --fail-on-update
        Return exit code 1, if update is available
  --helm-chart-path string
        Helm chart to check for updates (default ".")

Flags --docker-hub-repo string and --helm-chart-path are required.

Per default, it shows a small table with the current version and all available versions. When --fail-on-update is set, the app is exiting with code 1.

--exclude-versions can be set, to ignore / exclude version on DockerHub from the check. You can specify multiple versions and/or use ranges (^,~).