mirror of
https://github.com/gravitational/teleport.git
synced 2026-11-02 23:31:08 +08:00
* Update predeploy_job.yaml Adding the ability to allow for requests and limits to be added to the predeploy_job like already done for deployments. * Update predeploy_job.yaml Add the ability for the proxy predeploy_job to have limits and requests like the deployment. Using same values from Values file. * Update predeploy_test.yaml Adding tests for resource limits on predeploy job for auth and proxy. * Update examples/chart/teleport-cluster/tests/predeploy_test.yaml Co-authored-by: Hugo Shaka <hugo.hervieux@goteleport.com> * Update examples/chart/teleport-cluster/tests/predeploy_test.yaml Co-authored-by: Hugo Shaka <hugo.hervieux@goteleport.com> * Update examples/chart/teleport-cluster/tests/predeploy_test.yaml Co-authored-by: Hugo Shaka <hugo.hervieux@goteleport.com> * Update examples/chart/teleport-cluster/tests/predeploy_test.yaml Co-authored-by: Hugo Shaka <hugo.hervieux@goteleport.com> --------- Co-authored-by: Hugo Shaka <hugo.hervieux@goteleport.com>
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.