File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -9,9 +9,6 @@ This Quick Start guide will cover:
99
1010## Installation
1111
12- Install [ kustomize] ( https://sigs.k8s.io/kustomize ) .
13-
14-
1512Install [ kubebuilder] ( https://sigs.k8s.io/kubebuilder ) :
1613
1714``` bash
@@ -27,6 +24,19 @@ sudo mv /tmp/kubebuilder_2.0.0-alpha.0_${os}_${arch} /usr/local/kubebuilder
2724export PATH=$PATH :/usr/local/kubebuilder/bin
2825```
2926
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+
3040## Create a Project
3141
3242Initialize a new project and Go module for your controllers:
Original file line number Diff line number Diff line change 4343 status = 302
4444 force = true
4545
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+
4652[[redirects ]]
4753 from = " https://go.kubebuilder.io/releases/:version/:os"
4854 to = " https://go.kubebuilder.io/releases/:version/:os/amd64"
4955 status = 302
5056 force = true
5157
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+
5264[[redirects ]]
5365 from = " https://go.kubebuilder.io/releases/:version/:os/:arch"
5466 to = " https://github.com/kubernetes-sigs/kubebuilder/releases/download/v:version/kubebuilder_:version_:os_:arch.tar.gz"
5567 status = 302
5668 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