Altering dependency names and values
When you include a dependency within a chart, you will most likely need to alter some of its values. One way to alter a dependency’s values is to override them under a map whose root has the same name as the dependency.
For example, consider the basic-fields
chart located under chapter5/examples/basic-fields
. This chart contains one dependency in the Chart.yaml
file:
dependencies: - name: mariadb repository: https://raw.githubusercontent.com/bitnami/charts/archive-full-index/bitnami version: 9.5.0
To override the values from the mariadb
chart, you could incorporate a values structure, similar to the following:
mariadb: image: registry: my-registry.example.com repository: my-mariadb tag: my-tag
This will override the image.registry
, image.repository
, and image.tag
values from the mariadb...