forked from kubernetes-sigs/kubebuilder
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request kubernetes-sigs#1203 from mengqiy/bumpCRCT
✨ bump CR to v0.4.0 and CT to v0.2.4
- Loading branch information
Showing
19 changed files
with
507 additions
and
209 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 |
---|---|---|
|
@@ -60,7 +60,7 @@ generate-vendor: ## (Deprecated) Update/generate the vendor by using the path $G | |
.PHONY: generate-setup | ||
generate-setup: ## Current workarround to generate the testdata with the correct controller-gen version | ||
- rm -rf $(CONTROLLER_GEN_BIN_PATH) | ||
- GO111MODULE=on go get sigs.k8s.io/controller-tools/cmd/[email protected].2 | ||
- GO111MODULE=on go get sigs.k8s.io/controller-tools/cmd/[email protected].4 | ||
|
||
##@ Tests | ||
|
||
|
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 |
---|---|---|
|
@@ -42,9 +42,7 @@ ${cmd} /tmp/mdbook.${ext} | |
chmod +x /tmp/mdbook | ||
|
||
echo "grabbing the latest released controller-gen" | ||
# TODO(directxman12): remove the @v0.2.0-beta.4 once get v0.2.0 released, | ||
# so that we actually get the latest version | ||
go get sigs.k8s.io/controller-tools/cmd/[email protected] | ||
go get sigs.k8s.io/controller-tools/cmd/[email protected] | ||
|
||
# make sure we add the go bin directory to our path | ||
gobin=$(go env GOBIN) | ||
|
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
290 changes: 184 additions & 106 deletions
290
docs/book/src/cronjob-tutorial/testdata/project/go.sum
Large diffs are not rendered by default.
Oops, something went wrong.
4 changes: 2 additions & 2 deletions
4
docs/book/src/multiversion-tutorial/testdata/project/api/v1/zz_generated.deepcopy.go
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
4 changes: 2 additions & 2 deletions
4
docs/book/src/multiversion-tutorial/testdata/project/api/v2/zz_generated.deepcopy.go
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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
327 changes: 272 additions & 55 deletions
327
docs/book/src/multiversion-tutorial/testdata/project/go.sum
Large diffs are not rendered by default.
Oops, something went wrong.
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 |
---|---|---|
@@ -0,0 +1,8 @@ | ||
# CRD Processing | ||
|
||
These markers help control how the Kubernetes API server processes API | ||
requests involving your custom resources. | ||
|
||
See [Generating CRDs](/reference/generating-crd.md) for examples. | ||
|
||
{{#markerdocs CRD processing}} |
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
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 |
---|---|---|
|
@@ -25,5 +25,5 @@ go get sigs.k8s.io/[email protected] | |
kind create cluster --config test/kind-config.yaml --image=kindest/node:$K8S_VERSION | ||
|
||
# setup the go modules required | ||
go get sigs.k8s.io/controller-tools/cmd/[email protected].2 | ||
go get sigs.k8s.io/controller-tools/cmd/[email protected].4 | ||
go get sigs.k8s.io/kustomize/kustomize/[email protected] |
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 |
---|---|---|
|
@@ -71,7 +71,7 @@ ifeq (, $(shell which controller-gen)) | |
CONTROLLER_GEN_TMP_DIR=$$(mktemp -d) ;\ | ||
cd $$CONTROLLER_GEN_TMP_DIR ;\ | ||
go mod init tmp ;\ | ||
go get sigs.k8s.io/controller-tools/cmd/[email protected].2 ;\ | ||
go get sigs.k8s.io/controller-tools/cmd/[email protected].4 ;\ | ||
rm -rf $$CONTROLLER_GEN_TMP_DIR ;\ | ||
} | ||
CONTROLLER_GEN=$(GOBIN)/controller-gen | ||
|
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
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