Skip to content

Commit f80a317

Browse files
authored
Merge pull request #2332 from Birdrock/configuring-envtest-bin-dir-docs
📖 Update Configuring EnvTest binary directory docs
2 parents 59f6649 + 835345e commit f80a317

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://go.kubebuilder.io/test-tools/${K8S_VERSI
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
### Kubernetes 1.20 and 1.21 binary issues

0 commit comments

Comments
 (0)