-
Notifications
You must be signed in to change notification settings - Fork 104
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[CONTINT-4412] Upgrade
k8s
dependencies
- Loading branch information
Showing
24 changed files
with
1,925 additions
and
4,077 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 |
---|---|---|
|
@@ -82,7 +82,7 @@ echo-img: ## Use `make -s echo-img` to get image string for other shell commands | |
##@ Tools | ||
CONTROLLER_GEN = bin/$(PLATFORM)/controller-gen | ||
$(CONTROLLER_GEN): Makefile ## Download controller-gen locally if necessary. | ||
$(call go-get-tool,$@,sigs.k8s.io/controller-tools/cmd/controller-gen@v0.14.0) | ||
$(call go-get-tool,$@,sigs.k8s.io/controller-tools/cmd/controller-gen@v0.16.3) | ||
|
||
KUSTOMIZE = bin/$(PLATFORM)/kustomize | ||
$(KUSTOMIZE): Makefile ## Download kustomize locally if necessary. | ||
|
@@ -286,8 +286,8 @@ install-tools: bin/$(PLATFORM)/golangci-lint bin/$(PLATFORM)/operator-sdk bin/$( | |
|
||
.PHONY: generate-openapi | ||
generate-openapi: bin/$(PLATFORM)/openapi-gen | ||
bin/$(PLATFORM)/openapi-gen --logtostderr=true -o "." -i ./api/datadoghq/v1alpha1 -O zz_generated.openapi -p ./api/datadoghq/v1alpha1 -h ./hack/boilerplate.go.txt -r "-" | ||
bin/$(PLATFORM)/openapi-gen --logtostderr=true -o "." -i ./api/datadoghq/v2alpha1 -O zz_generated.openapi -p ./api/datadoghq/v2alpha1 -h ./hack/boilerplate.go.txt -r "-" | ||
bin/$(PLATFORM)/openapi-gen --logtostderr --output-dir api/datadoghq/v1alpha1 --output-file zz_generated.openapi.go --output-pkg api/datadoghq/v1alpha1 --go-header-file ./hack/boilerplate.go.txt | ||
bin/$(PLATFORM)/openapi-gen --logtostderr --output-dir api/datadoghq/v2alpha1 --output-file zz_generated.openapi.go --output-pkg api/datadoghq/v2alpha1 --go-header-file ./hack/boilerplate.go.txt | ||
|
||
.PHONY: preflight-redhat-container | ||
preflight-redhat-container: bin/$(PLATFORM)/preflight | ||
|
@@ -350,7 +350,7 @@ bin/$(PLATFORM)/preflight: Makefile | |
|
||
bin/$(PLATFORM)/openapi-gen: | ||
mkdir -p $(ROOT)/bin/$(PLATFORM) | ||
GOBIN=$(ROOT)/bin/$(PLATFORM) go install k8s.io/kube-openapi/cmd/[email protected]20230717233707-2695361300d9 | ||
GOBIN=$(ROOT)/bin/$(PLATFORM) go install k8s.io/kube-openapi/cmd/[email protected]20240228011516-70dd3763d340 | ||
|
||
bin/$(PLATFORM)/kubebuilder: | ||
./hack/install-kubebuilder.sh 4.1.1 ./bin/$(PLATFORM) | ||
|
Oops, something went wrong.