Skip to content

Commit

Permalink
Merge pull request #713 from DirectXMan12/go-links/kustomize
Browse files Browse the repository at this point in the history
Kustomize and Snapshot Go Links
  • Loading branch information
k8s-ci-robot committed May 17, 2019
2 parents 3e19daa + bef32d2 commit 498b501
Show file tree
Hide file tree
Showing 2 changed files with 32 additions and 3 deletions.
16 changes: 13 additions & 3 deletions docs/book/src/quick-start.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,6 @@ This Quick Start guide will cover:

## Installation

Install [kustomize](https://sigs.k8s.io/kustomize).


Install [kubebuilder](https://sigs.k8s.io/kubebuilder):

```bash
Expand All @@ -27,6 +24,19 @@ sudo mv /tmp/kubebuilder_2.0.0-alpha.0_${os}_${arch} /usr/local/kubebuilder
export PATH=$PATH:/usr/local/kubebuilder/bin
```

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

Install [kustomize](https://sigs.k8s.io/kustomize):

```bash
os=$(go env GOOS)
arch=$(go env GOARCH)

# download kustomize to the kubebuilder assets folder
curl -o /usr/local/kubebuilder/bin/kustomize -sL https://go.kubebuilder.io/dl/latest/${os}/${arch}
```

## Create a Project

Initialize a new project and Go module for your controllers:
Expand Down
19 changes: 19 additions & 0 deletions netlify.toml
Original file line number Diff line number Diff line change
Expand Up @@ -43,14 +43,33 @@
status = 302
force = true

[[redirects]]
from = "https://go.kubebuilder.io/releases/latest/:os"
to = "https://go.kubebuilder.io/releases/latest/:os/amd64"
status = 302
force = true

[[redirects]]
from = "https://go.kubebuilder.io/releases/:version/:os"
to = "https://go.kubebuilder.io/releases/:version/:os/amd64"
status = 302
force = true

[[redirects]]
from = "https://go.kubebuilder.io/releases/latest/:os/:arch"
to = "https://storage.googleapis.com/kubebuilder-release/kubebuilder_master_:os_:arch.tar.gz"
status = 302
force = true

[[redirects]]
from = "https://go.kubebuilder.io/releases/:version/:os/:arch"
to = "https://github.com/kubernetes-sigs/kubebuilder/releases/download/v:version/kubebuilder_:version_:os_:arch.tar.gz"
status = 302
force = true

# TODO(directxman12): change this to standard kustomize when the next version is released (2.1.0)
[[redirects]]
from = "https://go.kubebuilder.io/kustomize/:os/:arch"
to = "https://storage.googleapis.com/kubebuilder-kustomize/kustomize_:os_:arch"
status = 302
force = true

0 comments on commit 498b501

Please sign in to comment.