forked from kubernetes-sigs/kubebuilder
-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
📖 Upgrade controller-gen used to generated the docs and remove redire…
…cts for artefact images This PR update the deps used to generate the data in the docs. It should update the markers to address kubernetes-sigs#4009 Furthermore, for we are able to move forward here we need to remove the redirect for `https://go.kubebuilder.io/images` and `gcr.io/kubebuilder/thirdparty` which are deprecated and/or no longer used. We are either adding a note in the in the Artefacts page to clarify that ENV TEST binaries are no longer produced by Kubebuilder and its build and promotion was moved to controller-gen. Close: kubernetes-sigs#4009
- Loading branch information
1 parent
c8f4c5f
commit 33a6a4c
Showing
4 changed files
with
43 additions
and
33 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,44 @@ | ||
# Artifacts | ||
|
||
# Artifacts | ||
|
||
<aside class="note warning"> | ||
<h1>IMPORTANT: Kubebuilder no longer produces artifacts</h1> | ||
|
||
Kubebuilder has been building those artifacts binaries to allow users | ||
to use the [ENV TEST][env-test-doc] functionality provided by [controller-runtime][controller-runtime] | ||
for several years. However, Google Cloud Platform has [deprecated the Container Registry](https://cloud.google.com/artifact-registry/docs/transition/transition-from-gcr), | ||
which has been used to build and promote these binaries tarballs. | ||
|
||
Additionally, ongoing changes and the phase-out of the previous GCP infrastructure mean | ||
that **Kubebuilder maintainers are no longer able to build or ensure the promotion of these binaries.** | ||
|
||
Therefore, since those have been building to allow the controller-runtime | ||
[ENV TEST][env-test-doc] library to work, it has been started to be built by [controller-runtime][controller-runtime] itself | ||
under the [controller-gen releases page][controller-gen]. From [controller-runtime][controller-runtime] | ||
release `v0.19.0` the binaries will begin to be pulled out from this page instead. | ||
For more information, see the PR that introduces this change [here](https://github.com/kubernetes-sigs/controller-runtime/pull/2811). | ||
|
||
</aside> | ||
|
||
|
||
Kubebuilder publishes test binaries and container images in addition | ||
to the main binary releases. | ||
|
||
## Test Binaries | ||
## **(Deprecated)** - Test Binaries (Used by ENV TEST) | ||
|
||
You can find test binary tarballs for all Kubernetes versions and host platforms at `https://go.kubebuilder.io/test-tools`. | ||
You can find a test binary tarball for a particular Kubernetes version and host platform at `https://go.kubebuilder.io/test-tools/${version}/${os}/${arch}`. | ||
|
||
## Container Images | ||
<aside class="note"> | ||
<h1>Setup ENV TEST tool</h1> | ||
To know more about the tooling used to configure ENVTEST which is used in the setup-envtest target in the Makefile | ||
of the projects build with Kubebuilder see the [README][readme] | ||
of its tooling. | ||
</aside> | ||
|
||
|
||
You can find all container image versions for a particular platform at `https://go.kubebuilder.io/images/${os}/${arch}` | ||
or at `gcr.io/kubebuilder/thirdparty-${os}-${arch}`. | ||
You can find the container image for a particular Kubernetes version and host platform at `https://go.kubebuilder.io/images/${os}/${arch}/${version}` | ||
or at `gcr.io/kubebuilder/thirdparty-${os}-${arch}:${version}`. | ||
[env-test-doc]: ./envtest.md | ||
[controller-runtime]: https://github.com/kubernetes-sigs/controller-runtime | ||
[controller-gen]: https://github.com/kubernetes-sigs/controller-tools/releases | ||
[readme]: https://github.com/kubernetes-sigs/controller-runtime/blob/main/tools/setup-envtest/README.md |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters