coder/helm/tests
Cian Johnston 9b2abf0952
chore(helm): add unit tests for helm chart (#6557)
This PR adds a minimum set of Helm tests for the Helm chart.
It's heavily based on the approach in [1], but uses a golden-files-based approach instead.
It also runs helm template directly instead of importing the entire Kubernetes API.
Golden files can be updated by running go test ./helm/tests -update or by running make update-golden-files.

[1] https://github.com/coder/enterprise-helm

Fixes #6552
2023-03-13 13:48:44 +00:00
..
testdata chore(helm): add unit tests for helm chart (#6557) 2023-03-13 13:48:44 +00:00
chart_test.go chore(helm): add unit tests for helm chart (#6557) 2023-03-13 13:48:44 +00:00