Skip to content

Commit 835345e

Browse files
committed
Update Configuring EnvTest binary directory docs
1 parent b05a6f6 commit 835345e

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

docs/book/src/reference/envtest.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,8 @@ curl -sSLo envtest-bins.tar.gz "https://storage.googleapis.com/kubebuilder-tools
2222
Then install them:
2323

2424
```sh
25-
mkdir /opt/kubebuilder/testbin
26-
tar -C /opt/kubebuilder/testbin --strip-components=1 -zvxf envtest-bins.tar.gz
25+
mkdir /usr/local/kubebuilder
26+
tar -C /usr/local/kubebuilder --strip-components=1 -zvxf envtest-bins.tar.gz
2727
```
2828

2929
Once these binaries are installed, you can either change the `test` target to:
@@ -36,7 +36,7 @@ test: manifests generate fmt vet
3636
Or configure the existing target to skip the download and point to a [custom location](#environment-variables):
3737

3838
```sh
39-
make test SKIP_FETCH_TOOLS=1 KUBEBUILDER_ASSETS=/opt/kubebuilder/testbin
39+
make test SKIP_FETCH_TOOLS=1 KUBEBUILDER_ASSETS=/usr/local/kubebuilder
4040
```
4141

4242
## Writing tests

0 commit comments

Comments
 (0)