Update references to archived helm-unittest plugin (#68720)

* Replace references to archived helm-unittest plugin

Signed-off-by: Jacob Boykin <[email protected]>

* Point users to make target and ensure plugin env for macos

Signed-off-by: Jacob Boykin <[email protected]>

---------

Signed-off-by: Jacob Boykin <[email protected]>
This commit is contained in:
Jacob Boykin
2026-07-18 00:54:50 +00:00
committed by GitHub
parent d6b730b3a3
commit 080d16073d
5 changed files with 5 additions and 21 deletions
+1 -2
View File
@@ -77,8 +77,7 @@ and updates are welcome!
```shell
brew install helm
helm plugin install https://github.com/quintush/helm-unittest --version 0.2.11
make helmunit/installed
```
1. Install `bats`:
+1 -1
View File
@@ -990,7 +990,7 @@ helmunit/installed:
fi; \
printf '%s\n' \
'helm-unittest does not provide the plugin signature required for Helm plugin signature verification, so we verify the release archive ourselves when installing:' \
' plugin_dir="$${HELM_PLUGINS:-$$HOME/.local/share/helm/plugins}/helm-unittest"' \
' plugin_dir="$$(helm env HELM_PLUGINS)/helm-unittest"' \
' rm -rf "$$plugin_dir"' \
' mkdir -p "$$plugin_dir"' \
' curl -fsSL -o "$(HELM_UNITTEST_ARCHIVE)" https://github.com/helm-unittest/helm-unittest/releases/download/$(HELM_UNITTEST_VERSION)/$(HELM_UNITTEST_ARCHIVE)' \
+1 -6
View File
@@ -37,15 +37,10 @@ will ensure that Helm is able to validate values at install-time and can prevent
4) Document any new values or changes to existing behaviour in the [chart reference](../../docs/pages/reference/helm-reference).
5) Run `make lint-helm test-helm` from the root of the repo before raising your PR.
You will need `yamllint`, `helm` and [helm-unittest](https://github.com/quintush/helm-unittest) installed locally.
You will need `yamllint`, `helm` and [helm-unittest](https://github.com/helm-unittest/helm-unittest) installed locally.
`make -C build.assets lint-helm test-helm` will run these via Docker if you'd prefer not to install locally.
*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)*
6) If you get a snapshot error during your testing, you should verify that your changes intended to alter the output,
then run `make test-helm-update-snapshots` to update the snapshots and commit these changes along with your PR.
@@ -1,11 +1,6 @@
## Unit tests for Helm charts
Helm chart unit tests run here using the [helm-unittest](https://github.com/quintush/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)*
Helm chart unit tests run here using the [helm-unittest](https://github.com/helm-unittest/helm-unittest/) Helm plugin.
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:
@@ -1,11 +1,6 @@
## Unit tests for Helm charts
Helm chart unit tests run here using the [helm-unittest](https://github.com/quintush/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)*
Helm chart unit tests run here using the [helm-unittest](https://github.com/helm-unittest/helm-unittest/) Helm plugin.
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: