This section of the document gives you an example of how to integrate the helm chart related workflow
into the e2e-framework
while writing your tests.
Helm3
Installed on your system where the tests are being run
- It creates a Kind Cluster with
third-party
prefix - Creates a new namespace with
third-party
prefix - Deploys the local helm chart under example_chart with a name
example
to namespace created in Step #2 - Run
helm test example
command to run a test on the Helm chart deployed in step #3
- It creates a Kind Cluster with
third-party
prefix - Creates a new namespace with
third-party
prefix - Adds the
nginx-stable
helm repo and triggers a repo update workflow - Installs the helm chart using
nginx-stable/nginx-ingress
(without Wait mode) with namenginx
- Waits for the Deployment to be up and running
- Runs the
helm test nginx
command to run a basic helm test
go test -c -o helm.test .
./helm.test --v 4