Helm Chart requirements.yaml: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
Line 60: Line 60:
     version: 6.3.2
     version: 6.3.2
     repository: https://kubernetes-charts.storage.googleapis.com
     repository: https://kubernetes-charts.storage.googleapis.com
<syntaxhighlight lang='yaml'>
</syntaxhighlight>

Revision as of 04:12, 31 August 2019

External

Internal

Overview

requirements.yaml is an optional metadata file that contains dynamic dependencies for the chart. For a general discussion on chart dependencies, see Helm Dependencies.

Structure

dependencies:
- name: blue
  version: 1.2.3
  repository: http://example.com/charts
  alias: something
  condition: something.enabled, global. something.enabled
  tags:
  - front-end
  - big    
- name: green
  version 3.2.1
  repository: http://another.example.com/charts

Fields

name

The dependency chart name.

version

The dependency chart version.

repository

The dependency chart repository full URL. Note that helm repo add must be used to add the repository locally.

alias

TODO: https://helm.sh/docs/developing_charts/#alias-field-in-requirements-yaml

condition

TODO:https://helm.sh/docs/developing_charts/#tags-and-condition-fields-in-requirements-yaml

tags

TODO: https://helm.sh/docs/developing_charts/#tags-and-condition-fields-in-requirements-yaml

Example

dependencies:
  - name: postgresql
    version: 6.3.2
    repository: https://kubernetes-charts.storage.googleapis.com