Skip to content

Commit ec380bf

Browse files
[deps] remove unused deps and deps handled via go tools, move kind into go tools (#904)
* remove unused deps and deps handled via go tools * move kind to go tools
1 parent 54cb747 commit ec380bf

6 files changed

Lines changed: 8 additions & 416 deletions

File tree

Makefile

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -345,19 +345,17 @@ KUBECTL ?= $(LOCALBIN)/kubectl
345345
CLUSTERCTL ?= $(LOCALBIN)/clusterctl
346346
KUBEBUILDER ?= $(LOCALBIN)/kubebuilder
347347
TILT ?= $(LOCALBIN)/tilt
348-
KIND ?= $(LOCALBIN)/kind
349348
GOLANGCI_LINT_KAL ?= $(CACHE_BIN)/golangci-lint-kube-api-linter
350349

351350
## Tool Versions
352351
CLUSTERCTL_VERSION ?= v1.11.1
353352
KUBECTL_VERSION ?= v1.28.0
354353
KUBEBUILDER_VERSION ?= v3.15.1
355354
TILT_VERSION ?= 0.33.10
356-
KIND_VERSION ?= 0.23.0
357355
CHAINSAW_VERSION ?= v0.2.13
358356

359357
.PHONY: tools
360-
tools: $(CLUSTERCTL) $(KUBECTL) $(KUBEBUILDER) $(TILT) $(KIND)
358+
tools: $(CLUSTERCTL) $(KUBECTL) $(KUBEBUILDER) $(TILT)
361359
go install tool
362360
##@ we can't manage this with go tools because it causes a panic due to missing CRDs when running chainsaw
363361
go install github.com/kyverno/chainsaw@$(CHAINSAW_VERSION)
@@ -389,12 +387,6 @@ $(TILT): $(LOCALBIN)
389387
fi; \
390388
curl -fsSL https://github.com/tilt-dev/tilt/releases/download/v$(TILT_VERSION)/tilt.$(TILT_VERSION).$$TILT_OS.$(ARCH).tar.gz | tar -xzvm -C $(LOCALBIN) tilt
391389

392-
.PHONY: kind
393-
kind: $(KIND) ## Download kind locally if necessary.
394-
$(KIND): $(LOCALBIN)
395-
curl -Lso $(KIND) https://github.com/kubernetes-sigs/kind/releases/download/v$(KIND_VERSION)/kind-$(OS)-$(ARCH_SHORT)
396-
chmod +x $(KIND)
397-
398390
.PHONY: golangci-lint-kal
399391
golangci-lint-kal: $(GOLANGCI_LINT_KAL)
400392
$(GOLANGCI_LINT_KAL): tools # Build golangci-lint-kal from custom configuration.

devbox.json

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,12 @@
11
{
22
"packages": [
33
"clusterctl@latest",
4-
"ctlptl@latest",
54
"docker@latest",
65
"go-tools@latest",
76
"go@1.25",
8-
"golangci-lint@latest",
9-
"govulncheck@latest",
10-
"husky@latest",
11-
"kind@latest",
12-
"kustomize@latest",
13-
"kuttl@latest",
14-
"nilaway@latest",
157
"tilt@latest",
168
"mdbook@latest",
179
"mdbook-admonish@latest",
18-
"mockgen@latest",
1910
"kyverno-chainsaw@latest",
2011
"kubernetes-helm@latest",
2112
"kubectl@latest",

0 commit comments

Comments
 (0)