diff --git a/.gitignore b/.gitignore index 8c3a9d0f52a..ffa5f244dfd 100644 --- a/.gitignore +++ b/.gitignore @@ -14,6 +14,9 @@ docs/book/book/ # skip bin bin/* testbin/* +testdata/project-v3-addon/testbin/* +testdata/project-v3-multigroup/testbin/* +testdata/project-v3/testbin/* # skip .out files (coverage tests) *.out diff --git a/docs/book/src/quick-start.md b/docs/book/src/quick-start.md index b17d107706f..ffd207d94f4 100644 --- a/docs/book/src/quick-start.md +++ b/docs/book/src/quick-start.md @@ -25,7 +25,11 @@ arch=$(go env GOARCH) # download kubebuilder and extract it to tmp curl -L https://go.kubebuilder.io/dl/2.3.1/${os}/${arch} | tar -xz -C /tmp/ +``` + +If you are using a Kubebuilder plugin version less than version `v3+`, you must configure the Kubernetes binaries required for the [envtest][envtest], run: +```bash # move to a long-term location and put it on your path # (you'll need to set the KUBEBUILDER_ASSETS env var if you put it somewhere else) sudo mv /tmp/kubebuilder_2.3.1_${os}_${arch} /usr/local/kubebuilder @@ -37,7 +41,6 @@ export PATH=$PATH:/usr/local/kubebuilder/bin Also, you can install a master snapshot from `https://go.kubebuilder.io/dl/latest/${os}/${arch}`. -