Skip to content

Commit

Permalink
test binary and container image redirects and docs
Browse files Browse the repository at this point in the history
Signed-off-by: hasheddan <georgedanielmangum@gmail.com>
  • Loading branch information
hasheddan committed Sep 6, 2019
1 parent de03361 commit be61609
Show file tree
Hide file tree
Showing 3 changed files with 57 additions and 0 deletions.
1 change: 1 addition & 0 deletions docs/book/src/SUMMARY.md
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@
- [RBAC](./reference/markers/rbac.md)

- [controller-gen CLI](./reference/controller-gen.md)
- [Artifacts](./reference/artifacts.md)

---

Expand Down
14 changes: 14 additions & 0 deletions docs/book/src/reference/artifacts.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
# Artifacts

Kubebuilder publishes test binaries and container images in addition
to the main binary releases.

## Test Binaries

You can find all of the test binaries at `https://go.kubebuilder.io/test`.
You can find individual test binaries at `https://go.kubebuilder.io/test/${version}/${os}/${arch}`.

## Container Images

You can find all container images for your os at `https://go.kubebuilder.io/images/${os}`.
You can find individual container images at `https://go.kubebuilder.io/images/:os/:version`.
42 changes: 42 additions & 0 deletions netlify.toml
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,48 @@
status = 302
force = true

[[redirects]]
from = "https://go.kubebuilder.io/test"
to = "https://console.cloud.google.com/storage/browser/kubebuilder-tools"
status = 302
force = true

[[redirects]]
from = "https://go.kubebuilder.io/test/:version"
to = "https://console.cloud.google.com/storage/browser/kubebuilder-tools/?prefix=kubebuilder-tools-:version"
status = 302
force = true

[[redirects]]
from = "https://go.kubebuilder.io/test/:version/:os"
to = "https://console.cloud.google.com/storage/browser/_details/kubebuilder-tools/kubebuilder-tools-:version-:os-amd64.tar.gz"
status = 302
force = true

[[redirects]]
from = "https://go.kubebuilder.io/test/:version/:os/:arch"
to = "https://console.cloud.google.com/storage/browser/_details/kubebuilder-tools/kubebuilder-tools-:version-:os-:arch.tar.gz"
status = 302
force = true

[[redirects]]
from = "https://go.kubebuilder.io/images"
to = "gcr.io/kubebuilder"
status = 302
force = true

[[redirects]]
from = "https://go.kubebuilder.io/images/:os"
to = "gcr.io/kubebuilder/thirdparty-:os"
status = 302
force = true

[[redirects]]
from = "https://go.kubebuilder.io/images/:os/:version"
to = "gcr.io/kubebuilder/thirdparty-:os::version"
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"
Expand Down

0 comments on commit be61609

Please sign in to comment.