File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -22,8 +22,8 @@ curl -sSLo envtest-bins.tar.gz "https://go.kubebuilder.io/test-tools/${K8S_VERSI
22
22
Then install them:
23
23
24
24
``` 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
27
27
```
28
28
29
29
Once these binaries are installed, you can either change the ` test ` target to:
@@ -36,7 +36,7 @@ test: manifests generate fmt vet
36
36
Or configure the existing target to skip the download and point to a [custom location](#environment-variables) :
37
37
38
38
```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
40
40
```
41
41
42
42
### Kubernetes 1.20 and 1.21 binary issues
You can’t perform that action at this time.
0 commit comments