Chart Version Monitor is a relatively simple tool to monitor chart versions. It allows you to configure a bunch of repositories and charts to monitor for changes and calls a Slack webhook to notify you when they change.
The container can be configured by putting a config.yml in it's working directory or by supplying environment variables.
An example config file can be found in the repository. The supported environment variables are listed below:
CVM_REPOSITORIES* yaml array of repositories to monitor. Seeexample.config.ymlto see what it should contain.CVM_WEBHOOK_URL* string containing the Slack webhook to callCVM_REPORT_STARTboolean indicating if the application should call the webhook when it starts. Defaults to true.CVM_CHECK_INTERVALstring indicating the time between checks. Must be a valid Golang duration string such as 10s, 1m10s or 1h20m30s. Valid time units are "ns", "us" (or "µs"), "ms", "s", "m", "h", "d", "w", "y". Defaults to "1h"
* These environment variables are required if the application is run without config.yml
You can easily simulate a chart repository by running http-server from the
project directory and renaming example.config.yml to config.yml.