So, Add-on Model is planned to be done using helm charts as the underlying tool. The following constraints are present because of that:
- Sub-charts will live under
charts/add-ons
as new Helm charts with similar format and templating. As helm supports URL as therepo
path for add-ons, They can also later be moved out-of-tree totally. - The values of the sub-charts will be overriden by using the name of the add-on field in the parent's i.e
linkerd2
'svalues.yaml
. These values are considered the defaults and can be overriden using cli or a new values file.charts/add-ons/grafana/values.yaml
can left out empty so that we can maintain the config centrally. - The
requirements.yaml
will be updated to have the dependencies. Ex:
dependencies:
- name: partials