Skip to content

Commit 94c206b

Browse files
authored
Merge pull request #847 from mengqiy/updateKBversion
📖 update kubebuilder version
2 parents b12371c + 1742cb3 commit 94c206b

File tree

1 file changed

+3
-17
lines changed

1 file changed

+3
-17
lines changed

docs/book/src/quick-start.md

Lines changed: 3 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -16,32 +16,18 @@ os=$(go env GOOS)
1616
arch=$(go env GOARCH)
1717

1818
# download kubebuilder and extract it to tmp
19-
curl -sL https://go.kubebuilder.io/dl/2.0.0-alpha.4/${os}/${arch} | tar -xz -C /tmp/
19+
curl -sL https://go.kubebuilder.io/dl/2.0.0-beta.0/${os}/${arch} | tar -xz -C /tmp/
2020

2121
# move to a long-term location and put it on your path
2222
# (you'll need to set the KUBEBUILDER_ASSETS env var if you put it somewhere else)
23-
sudo mv /tmp/kubebuilder_2.0.0-alpha.4_${os}_${arch} /usr/local/kubebuilder
23+
sudo mv /tmp/kubebuilder_2.0.0-beta.0_${os}_${arch} /usr/local/kubebuilder
2424
export PATH=$PATH:/usr/local/kubebuilder/bin
2525
```
2626

2727
You can also install a KubeBuilder master snapshot from
2828
`https://go.kubebuilder.io/dl/latest/${os}/${arch}`.
2929

30-
Install [kustomize](https://sigs.k8s.io/kustomize):
31-
32-
```bash
33-
os=$(go env GOOS)
34-
arch=$(go env GOARCH)
35-
36-
# download kustomize to the kubebuilder assets folder
37-
curl -o /usr/local/kubebuilder/bin/kustomize -sL https://go.kubebuilder.io/kustomize/${os}/${arch}
38-
```
39-
40-
Ensure that kustomize is executable:
41-
42-
```bash
43-
chmod 755 /usr/local/kubebuilder/bin/kustomize
44-
```
30+
Install [kustomize](https://sigs.k8s.io/kustomize/docs/INSTALL.md) v3.0.1+
4531

4632
## Create a Project
4733

0 commit comments

Comments
 (0)