-
-
Notifications
You must be signed in to change notification settings - Fork 113
Description
The primary upstream for helm-unittest
has moved from quintush/helm-unittest
to helm-unittest/helm-unittest
.
So, we need to update these lines to refer to the helm-unittest org:
stackstorm-k8s/tests/README.md
Line 7 in ef1ed63
Unit tests (`tests/unit/*_test.yaml`) use [`helm-unittest`](https://github.com/quintush/helm-unittest). |
stackstorm-k8s/tests/README.md
Line 14 in ef1ed63
helm plugin install https://github.com/quintush/helm-unittest |
stackstorm-k8s/tests/README.md
Line 25 in ef1ed63
See https://github.com/quintush/helm-unittest/blob/master/DOCUMENT.md for details on writing unit tests. |
helm plugin install https://github.com/quintush/helm-unittest --version v0.2.11 |
And then we need to upgrade the version from v0.2.11
to a newer release. It looks like 0.4.4
is the latest as of 11 April 2024.
https://github.com/helm-unittest/helm-unittest/releases
There are several features in newer versions that look like they would allow us to simplify some of our tests, or make it possible to actually test things like the init containers. For example, v0.3.0 added jsonpath support. I hope that means we could replace the documentIndex
with something that looks up the document based on something else, like the resource name. In any case, we should update the version of helm-unittest
as much as possible, and then we can refactor the test in follow-up PRs.
Related to: