Element Server Suite - Helm Charts
Helm Charts to deploy the Element Server Suite
Developing
Requirements for development:
Optional Tools:
- chart-testing for Helm linting
- reuse
- shellcheck
Changes to chart templates are directly made to chart/<chart>/templates.
chart/<chart>/values.yaml and chart/<chart>/values.schema.json are generated files
and should not be directly edited. Changes to chart values and the values schema are
made in chart/<chart>/source. This is then built by running
scripts/construct_helm_charts.sh charts <version>.
The rationale for this is so that shared values & schema snippets can be shared between
components without copy-pasting. Shared schema snippets can be found at
chart/matrix-stack/sub_schemas/*.json. Shared values snippets can be found in
chart/matrix-stack/sub_schemas/sub_schemas.values.yaml.j2
The output of construct_helm_charts.sh must be committed to Git or CI fails. The rationale
for this is so that the values files and schemas can be easily viewed in the repo and diffs
seen in PRs