Skip to content

Checks Docker hub and updates Helm chart if update available.

License

Notifications You must be signed in to change notification settings

pmoscode/helm-chart-update-check

Repository files navigation

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 (^,~).

About

Checks Docker hub and updates Helm chart if update available.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages