File tree Expand file tree Collapse file tree 2 files changed +32
-3
lines changed Expand file tree Collapse file tree 2 files changed +32
-3
lines changed Original file line number Diff line number Diff line change @@ -9,9 +9,6 @@ This Quick Start guide will cover:
9
9
10
10
## Installation
11
11
12
- Install [ kustomize] ( https://sigs.k8s.io/kustomize ) .
13
-
14
-
15
12
Install [ kubebuilder] ( https://sigs.k8s.io/kubebuilder ) :
16
13
17
14
``` bash
@@ -27,6 +24,19 @@ sudo mv /tmp/kubebuilder_2.0.0-alpha.0_${os}_${arch} /usr/local/kubebuilder
27
24
export PATH=$PATH :/usr/local/kubebuilder/bin
28
25
```
29
26
27
+ You can also install a KubeBuilder master snapshot from
28
+ ` https://go.kubebuilder.io/dl/latest/${os}/${arch} ` .
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/dl/latest/${os} /${arch}
38
+ ```
39
+
30
40
## Create a Project
31
41
32
42
Initialize a new project and Go module for your controllers:
Original file line number Diff line number Diff line change 43
43
status = 302
44
44
force = true
45
45
46
+ [[redirects ]]
47
+ from = " https://go.kubebuilder.io/releases/latest/:os"
48
+ to = " https://go.kubebuilder.io/releases/latest/:os/amd64"
49
+ status = 302
50
+ force = true
51
+
46
52
[[redirects ]]
47
53
from = " https://go.kubebuilder.io/releases/:version/:os"
48
54
to = " https://go.kubebuilder.io/releases/:version/:os/amd64"
49
55
status = 302
50
56
force = true
51
57
58
+ [[redirects ]]
59
+ from = " https://go.kubebuilder.io/releases/latest/:os/:arch"
60
+ to = " https://storage.googleapis.com/kubebuilder-release/kubebuilder_master_:os_:arch.tar.gz"
61
+ status = 302
62
+ force = true
63
+
52
64
[[redirects ]]
53
65
from = " https://go.kubebuilder.io/releases/:version/:os/:arch"
54
66
to = " https://github.com/kubernetes-sigs/kubebuilder/releases/download/v:version/kubebuilder_:version_:os_:arch.tar.gz"
55
67
status = 302
56
68
force = true
69
+
70
+ # TODO(directxman12): change this to standard kustomize when the next version is released (2.1.0)
71
+ [[redirects ]]
72
+ from = " https://go.kubebuilder.io/kustomize/:os/:arch"
73
+ to = " https://storage.googleapis.com/kubebuilder-kustomize/kustomize_:os_:arch"
74
+ status = 302
75
+ force = true
You can’t perform that action at this time.
0 commit comments