Helm
kind: helm
Description
The helm crawler looks recursively for all Helm chart from a specific root directory. Then for each of them, it tries to update both Helm Chart dependencies and docker images specified in values.yaml.
Regarding Docker image updates, Updatecli looks for the following pattern
image:
repository: ghcr.io/updatecli/updatecli
tag: 0.37.0
or
images:
backend:
repository: ghcr.io/updatecli/updatemonitor
tag: 0.1.0
front:
repository: ghcr.io/updatecli/updatemonitor-ui
tag: 0.1.0
This crawler can be enabled either automatically with default behavior by running updatecli diff --experimental
from a directory containing the files to update.
Or by providing a manifest.
Manifests
Parameters
Name | Type | Description | Required |
---|---|---|---|
auths | object | Auths provides a map of registry credentials where the key is the registry URL without scheme | |
ignore | array | Ignore specifies rule to ignore Helm chart update. | |
path | string | Path specifies a Helm chart path pattern, the pattern requires to match all of name, not just a subpart of the path. | |
only | array | Only specify required rule to restrict Helm chart update. | |
path | string | Path specifies a Helm chart path pattern, the pattern requires to match all of name, not just a subpart of the path. | |
rootdir | string | rootdir defines the root directory used to recursively search for Helm Chart |
Example
# updatecli.d/default.yaml
name: "Helm autodiscovery using git scm"
scms:
epinio:
kind: git
spec:
url: https://github.com/olblak/charts.git
branch: master
autodiscovery:
# scmid is applied to all crawlers
scmid: epinio
crawlers:
helm:
# To ignore specific path
#ignore:
# # - path: <filepath relative to scm repository>
# # - path: chart/*
#only:
# # - path: <filepath relative to scm repository>
# # - path: chart/*
#