A Concourse resource for managing Helm charts.
Use this resource by adding the following to the resource_types section of a pipeline config:
resource_types:
- name: helm-chart
type: docker-image
source:
repository: linkyard/helm-chart-resource
See the Concourse docs for more details on adding resource_types
to a pipeline config.
chart
: Required. Name of chart, with or without repo namerepos
: Optional. Array of Helm repositories to initialize, each repository is defined as an object with properties name, url (required) username and password (optional).check
: Check for new chart version.in
: Downloads the chart.Downloads the chart that was discovered during the check
phase as a tar.
untar
: Optional. Extract the tar after downloading. Defaults to false
.untardir
: Optional. Name of the directory that untar will extract to.verify
: Optional. Verify the package against its signature. Defaults to false
.version
: Version of helm chart discovered and downloadedout
: No operation.Checks for version changes on the chart, downloads and untars it:
resources:
- name: concourse
type: helm-chart
source:
chart: stable/concourse
jobs:
# ...
plan:
- get: concourse
trigger: true
params:
untar: true
- task: use-chart
config:
platform: linux
image_resource:
type: docker-image
source:
repository: alpine
inputs:
- name: concourse
run:
path: cat
args:
- "concourse/concourse/Chart.yaml"