charts/teleport-cluster/tests
..
__snapshot__
auth_clusterrole_test.yaml
auth_clusterrolebinding_test.yaml
auth_config_test.yaml
auth_deployment_test.yaml
auth_pdb_test.yaml
auth_pvc_test.yaml
auth_serviceaccount_test.yaml
ingress_test.yaml
podmonitor_test.yaml
predeploy_test.yaml
proxy_certificate_test.yaml
proxy_config_test.yaml
proxy_deployment_test.yaml
proxy_pdb_test.yaml
proxy_service_test.yaml
proxy_serviceaccount_test.yaml
psp_test.yaml
README.md

Unit tests for Helm charts

Helm chart unit tests run here using the helm-unittest Helm plugin.

Note: there are multiple forks for the helm-unittest plugin. They are not compatible and don't provide the same featureset (e.g. including templates from sub-directories). Our tests rely on features and bugfixes that are only available on the quintush fork (which seems to be the most maintained at the time of writing)

If you get a snapshot error during your testing, you should verify that your changes intended to alter the output, then run this command from the root of your Teleport checkout to update the snapshots:

make -C build.assets test-helm-update-snapshots

After this, re-run the tests to make sure everything is fine:

make -C build.assets test-helm

Commit the updated snapshots along with your changes.