linkyard / helm-chart-resource

A Concourse resource for downloading Helm charts
Apache License 2.0
3 stars 6 forks source link
chart concourse helm resource

helm-chart-resource

A Concourse resource for managing Helm charts.

Installing

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.

Source Configuration

Behavior

check: Check for new chart version.

in: Downloads the chart.

Downloads the chart that was discovered during the check phase as a tar.

Parameters

Additional files populated

out: No operation.

Examples

In

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"