The helm chart is located in the chart directory, see the helm chart readme for more information.
See the contributing document for details.
For Sonatypers, note that external contributors must sign the CLA and the Dev-Ex team must verify this prior to accepting any PR.
Before running tests make sure to update the on-disk helm chart dependencies via
helm dependency update chart
Helm's lint command will highlight formatting problems in the chart that need to be corrected.
helm lint chart
The existing unit tests are intended to be run using the helm-unittest
plugin, which can be installed as follows
helm plugin install https://github.com/quintush/helm-unittest --version v0.2.11
The test suites are located in the chart/tests directory. Each test file name must end in
_test.yaml
in order for the plugin to automatically execute it.
To run all unit tests, execute helm unittest --helm3 chart
.
To run an individual unit test, execute helm unittest --helm3 chart --file chart/tests/<name_test.yaml>
.