pschichtel / helm-update-checker

This is a simple script that scans a directory tree for Chart.yaml files and verifies if all of their dependencies are up to date.

Home Page:https://schich.tel

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

helm-update-checker

This is a simple script that scans a directory tree for Chart.yaml files and verifies if all of their dependencies are up to date. If invalid or outdated versions are found, then the script will exit with code 1.

The main purpose of this script is to be run as a scheduled job in gitlab-ci. The job will fail if any dependencies are outdated.

Usage

The script takes one optional parameter: the path where to look for Chart.yaml files.

Some charts publish pre-release version into the same repository as their release versions. To prevent these pre-release version from being considered, a regex can be specified as a line-comment, that matches only the relevant versions, for example like this:

dependencies:
  - name: k8ssandra-operator
    repository: https://helm.k8ssandra.io/stable
    version: 1.7.0 # ^\d+\.\d+\.\d+$

About

This is a simple script that scans a directory tree for Chart.yaml files and verifies if all of their dependencies are up to date.

https://schich.tel

License:GNU General Public License v3.0


Languages

Language:Shell 96.4%Language:Dockerfile 3.6%