File tree Expand file tree Collapse file tree 1 file changed +3
-17
lines changed Expand file tree Collapse file tree 1 file changed +3
-17
lines changed Original file line number Diff line number Diff line change @@ -16,32 +16,18 @@ os=$(go env GOOS)
16
16
arch=$( go env GOARCH)
17
17
18
18
# 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/
20
20
21
21
# move to a long-term location and put it on your path
22
22
# (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
24
24
export PATH=$PATH :/usr/local/kubebuilder/bin
25
25
```
26
26
27
27
You can also install a KubeBuilder master snapshot from
28
28
` https://go.kubebuilder.io/dl/latest/${os}/${arch} ` .
29
29
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+
45
31
46
32
## Create a Project
47
33
You can’t perform that action at this time.
0 commit comments