1- # Auto generated binary variables helper managed by https://github.com/bwplotka/bingo v0.9 . DO NOT EDIT.
1+ # Auto generated binary variables helper managed by https://github.com/bwplotka/bingo v0.10 . DO NOT EDIT.
22# All tools are designed to be build inside $GOBIN.
33BINGO_DIR := $(dir $(lastword $(MAKEFILE_LIST ) ) )
44GOPATH ?= $(shell go env GOPATH)
55GOBIN ?= $(firstword $(subst :, ,${GOPATH}) ) /bin
66GO ?= $(shell which go)
77
8+ # Ensure bingo-managed tools are always built for the host platform,
9+ # even when GOOS/GOARCH are set for cross-compilation of other targets.
10+ GOHOSTOS ?= $(shell $(GO ) env GOHOSTOS)
11+ GOHOSTARCH ?= $(shell $(GO ) env GOHOSTARCH)
12+ GOHOSTARM ?= $(shell $(GO ) env GOHOSTARM)
13+
814# Below generated variables ensure that every time a tool under each variable is invoked, the correct version
915# will be used; reinstalling only if needed.
1016# For example for bingo variable:
@@ -21,95 +27,95 @@ BINGO := $(GOBIN)/bingo-v0.9.0
2127$(BINGO ) : $(BINGO_DIR ) /bingo.mod
2228 @# Install binary/ries using Go 1.14+ build command. This is using bwplotka/bingo-controlled, separate go module with pinned dependencies.
2329 @echo " (re)installing $( GOBIN) /bingo-v0.9.0"
24- @cd $(BINGO_DIR ) && GOWORK=off $(GO ) build -mod=mod -modfile=bingo.mod -o=$(GOBIN ) /bingo-v0.9.0 " github.com/bwplotka/bingo"
30+ @cd $(BINGO_DIR ) && GOWORK=off GOOS= $( GOHOSTOS ) GOARCH= $( GOHOSTARCH ) GOARM= $( GOHOSTARM ) $(GO ) build -mod=mod -modfile=bingo.mod -o=$(GOBIN ) /bingo-v0.9.0 " github.com/bwplotka/bingo"
2531
2632CONFTEST := $(GOBIN ) /conftest-v0.62.0
2733$(CONFTEST ) : $(BINGO_DIR ) /conftest.mod
2834 @# Install binary/ries using Go 1.14+ build command. This is using bwplotka/bingo-controlled, separate go module with pinned dependencies.
2935 @echo " (re)installing $( GOBIN) /conftest-v0.62.0"
30- @cd $(BINGO_DIR ) && GOWORK=off $(GO ) build -mod=mod -modfile=conftest.mod -o=$(GOBIN ) /conftest-v0.62.0 " github.com/open-policy-agent/conftest"
36+ @cd $(BINGO_DIR ) && GOWORK=off GOOS= $( GOHOSTOS ) GOARCH= $( GOHOSTARCH ) GOARM= $( GOHOSTARM ) $(GO ) build -mod=mod -modfile=conftest.mod -o=$(GOBIN ) /conftest-v0.62.0 " github.com/open-policy-agent/conftest"
3137
3238CONTROLLER_GEN := $(GOBIN ) /controller-gen-v0.20.1
3339$(CONTROLLER_GEN ) : $(BINGO_DIR ) /controller-gen.mod
3440 @# Install binary/ries using Go 1.14+ build command. This is using bwplotka/bingo-controlled, separate go module with pinned dependencies.
3541 @echo " (re)installing $( GOBIN) /controller-gen-v0.20.1"
36- @cd $(BINGO_DIR ) && GOWORK=off $(GO ) build -mod=mod -modfile=controller-gen.mod -o=$(GOBIN ) /controller-gen-v0.20.1 " sigs.k8s.io/controller-tools/cmd/controller-gen"
42+ @cd $(BINGO_DIR ) && GOWORK=off GOOS= $( GOHOSTOS ) GOARCH= $( GOHOSTARCH ) GOARM= $( GOHOSTARM ) $(GO ) build -mod=mod -modfile=controller-gen.mod -o=$(GOBIN ) /controller-gen-v0.20.1 " sigs.k8s.io/controller-tools/cmd/controller-gen"
3743
38- CRD_DIFF := $(GOBIN ) /crd-diff-v0.5.0
44+ CRD_DIFF := $(GOBIN ) /crd-diff-v0.5.1-0.20260309184313-54162f2e3097
3945$(CRD_DIFF ) : $(BINGO_DIR ) /crd-diff.mod
4046 @# Install binary/ries using Go 1.14+ build command. This is using bwplotka/bingo-controlled, separate go module with pinned dependencies.
41- @echo " (re)installing $( GOBIN) /crd-diff-v0.5.0 "
42- @cd $(BINGO_DIR ) && GOWORK=off $( GO ) build -mod=mod -modfile=crd-diff.mod -o=$(GOBIN ) /crd-diff-v0.5.0 " sigs.k8s.io/crdify"
47+ @echo " (re)installing $( GOBIN) /crd-diff-v0.5.1-0.20260309184313-54162f2e3097 "
48+ @cd $(BINGO_DIR ) && GOWORK=off GOOS= $( GOHOSTOS ) GOARCH= $( GOHOSTARCH ) GOARM= $( GOHOSTARM ) $( GO ) build -mod=mod -modfile=crd-diff.mod -o=$(GOBIN ) /crd-diff-v0.5.1-0.20260309184313-54162f2e3097 " sigs.k8s.io/crdify"
4349
4450CRD_REF_DOCS := $(GOBIN ) /crd-ref-docs-v0.3.0
4551$(CRD_REF_DOCS ) : $(BINGO_DIR ) /crd-ref-docs.mod
4652 @# Install binary/ries using Go 1.14+ build command. This is using bwplotka/bingo-controlled, separate go module with pinned dependencies.
4753 @echo " (re)installing $( GOBIN) /crd-ref-docs-v0.3.0"
48- @cd $(BINGO_DIR ) && GOWORK=off $(GO ) build -mod=mod -modfile=crd-ref-docs.mod -o=$(GOBIN ) /crd-ref-docs-v0.3.0 " github.com/elastic/crd-ref-docs"
54+ @cd $(BINGO_DIR ) && GOWORK=off GOOS= $( GOHOSTOS ) GOARCH= $( GOHOSTARCH ) GOARM= $( GOHOSTARM ) $(GO ) build -mod=mod -modfile=crd-ref-docs.mod -o=$(GOBIN ) /crd-ref-docs-v0.3.0 " github.com/elastic/crd-ref-docs"
4955
5056GOJQ := $(GOBIN ) /gojq-v0.12.17
5157$(GOJQ ) : $(BINGO_DIR ) /gojq.mod
5258 @# Install binary/ries using Go 1.14+ build command. This is using bwplotka/bingo-controlled, separate go module with pinned dependencies.
5359 @echo " (re)installing $( GOBIN) /gojq-v0.12.17"
54- @cd $(BINGO_DIR ) && GOWORK=off $(GO ) build -mod=mod -modfile=gojq.mod -o=$(GOBIN ) /gojq-v0.12.17 " github.com/itchyny/gojq/cmd/gojq"
60+ @cd $(BINGO_DIR ) && GOWORK=off GOOS= $( GOHOSTOS ) GOARCH= $( GOHOSTARCH ) GOARM= $( GOHOSTARM ) $(GO ) build -mod=mod -modfile=gojq.mod -o=$(GOBIN ) /gojq-v0.12.17 " github.com/itchyny/gojq/cmd/gojq"
5561
5662GOLANGCI_LINT := $(GOBIN ) /golangci-lint-v2.8.0
5763$(GOLANGCI_LINT ) : $(BINGO_DIR ) /golangci-lint.mod
5864 @# Install binary/ries using Go 1.14+ build command. This is using bwplotka/bingo-controlled, separate go module with pinned dependencies.
5965 @echo " (re)installing $( GOBIN) /golangci-lint-v2.8.0"
60- @cd $(BINGO_DIR ) && GOWORK=off $(GO ) build -mod=mod -modfile=golangci-lint.mod -o=$(GOBIN ) /golangci-lint-v2.8.0 " github.com/golangci/golangci-lint/v2/cmd/golangci-lint"
66+ @cd $(BINGO_DIR ) && GOWORK=off GOOS= $( GOHOSTOS ) GOARCH= $( GOHOSTARCH ) GOARM= $( GOHOSTARM ) $(GO ) build -mod=mod -modfile=golangci-lint.mod -o=$(GOBIN ) /golangci-lint-v2.8.0 " github.com/golangci/golangci-lint/v2/cmd/golangci-lint"
6167
6268GORELEASER := $(GOBIN ) /goreleaser-v2.11.2
6369$(GORELEASER ) : $(BINGO_DIR ) /goreleaser.mod
6470 @# Install binary/ries using Go 1.14+ build command. This is using bwplotka/bingo-controlled, separate go module with pinned dependencies.
6571 @echo " (re)installing $( GOBIN) /goreleaser-v2.11.2"
66- @cd $(BINGO_DIR ) && GOWORK=off $(GO ) build -mod=mod -modfile=goreleaser.mod -o=$(GOBIN ) /goreleaser-v2.11.2 " github.com/goreleaser/goreleaser/v2"
72+ @cd $(BINGO_DIR ) && GOWORK=off GOOS= $( GOHOSTOS ) GOARCH= $( GOHOSTARCH ) GOARM= $( GOHOSTARM ) $(GO ) build -mod=mod -modfile=goreleaser.mod -o=$(GOBIN ) /goreleaser-v2.11.2 " github.com/goreleaser/goreleaser/v2"
6773
6874HELM := $(GOBIN ) /helm-v3.18.4
6975$(HELM ) : $(BINGO_DIR ) /helm.mod
7076 @# Install binary/ries using Go 1.14+ build command. This is using bwplotka/bingo-controlled, separate go module with pinned dependencies.
7177 @echo " (re)installing $( GOBIN) /helm-v3.18.4"
72- @cd $(BINGO_DIR ) && GOWORK=off $(GO ) build -mod=mod -modfile=helm.mod -o=$(GOBIN ) /helm-v3.18.4 " helm.sh/helm/v3/cmd/helm"
78+ @cd $(BINGO_DIR ) && GOWORK=off GOOS= $( GOHOSTOS ) GOARCH= $( GOHOSTARCH ) GOARM= $( GOHOSTARM ) $(GO ) build -mod=mod -modfile=helm.mod -o=$(GOBIN ) /helm-v3.18.4 " helm.sh/helm/v3/cmd/helm"
7379
7480KIND := $(GOBIN ) /kind-v0.31.0
7581$(KIND ) : $(BINGO_DIR ) /kind.mod
7682 @# Install binary/ries using Go 1.14+ build command. This is using bwplotka/bingo-controlled, separate go module with pinned dependencies.
7783 @echo " (re)installing $( GOBIN) /kind-v0.31.0"
78- @cd $(BINGO_DIR ) && GOWORK=off $(GO ) build -mod=mod -modfile=kind.mod -o=$(GOBIN ) /kind-v0.31.0 " sigs.k8s.io/kind"
84+ @cd $(BINGO_DIR ) && GOWORK=off GOOS= $( GOHOSTOS ) GOARCH= $( GOHOSTARCH ) GOARM= $( GOHOSTARM ) $(GO ) build -mod=mod -modfile=kind.mod -o=$(GOBIN ) /kind-v0.31.0 " sigs.k8s.io/kind"
7985
8086KUBE_SCORE := $(GOBIN ) /kube-score-v1.20.0
8187$(KUBE_SCORE ) : $(BINGO_DIR ) /kube-score.mod
8288 @# Install binary/ries using Go 1.14+ build command. This is using bwplotka/bingo-controlled, separate go module with pinned dependencies.
8389 @echo " (re)installing $( GOBIN) /kube-score-v1.20.0"
84- @cd $(BINGO_DIR ) && GOWORK=off $(GO ) build -mod=mod -modfile=kube-score.mod -o=$(GOBIN ) /kube-score-v1.20.0 " github.com/zegl/kube-score/cmd/kube-score"
90+ @cd $(BINGO_DIR ) && GOWORK=off GOOS= $( GOHOSTOS ) GOARCH= $( GOHOSTARCH ) GOARM= $( GOHOSTARM ) $(GO ) build -mod=mod -modfile=kube-score.mod -o=$(GOBIN ) /kube-score-v1.20.0 " github.com/zegl/kube-score/cmd/kube-score"
8591
8692KUSTOMIZE := $(GOBIN ) /kustomize-v5.7.1
8793$(KUSTOMIZE ) : $(BINGO_DIR ) /kustomize.mod
8894 @# Install binary/ries using Go 1.14+ build command. This is using bwplotka/bingo-controlled, separate go module with pinned dependencies.
8995 @echo " (re)installing $( GOBIN) /kustomize-v5.7.1"
90- @cd $(BINGO_DIR ) && GOWORK=off $(GO ) build -mod=mod -modfile=kustomize.mod -o=$(GOBIN ) /kustomize-v5.7.1 " sigs.k8s.io/kustomize/kustomize/v5"
96+ @cd $(BINGO_DIR ) && GOWORK=off GOOS= $( GOHOSTOS ) GOARCH= $( GOHOSTARCH ) GOARM= $( GOHOSTARM ) $(GO ) build -mod=mod -modfile=kustomize.mod -o=$(GOBIN ) /kustomize-v5.7.1 " sigs.k8s.io/kustomize/kustomize/v5"
9197
9298OPERATOR_SDK := $(GOBIN ) /operator-sdk-v1.41.1
9399$(OPERATOR_SDK ) : $(BINGO_DIR ) /operator-sdk.mod
94100 @# Install binary/ries using Go 1.14+ build command. This is using bwplotka/bingo-controlled, separate go module with pinned dependencies.
95101 @echo " (re)installing $( GOBIN) /operator-sdk-v1.41.1"
96- @cd $(BINGO_DIR ) && GOWORK=off $(GO ) build -tags=containers_image_openpgp -ldflags=-X=github.com/operator-framework/operator-sdk/internal/version.Version=v1.41.1 -mod=mod -modfile=operator-sdk.mod -o=$(GOBIN ) /operator-sdk-v1.41.1 " github.com/operator-framework/operator-sdk/cmd/operator-sdk"
102+ @cd $(BINGO_DIR ) && GOWORK=off GOOS= $( GOHOSTOS ) GOARCH= $( GOHOSTARCH ) GOARM= $( GOHOSTARM ) $(GO ) build -tags=containers_image_openpgp -ldflags=-X=github.com/operator-framework/operator-sdk/internal/version.Version=v1.41.1 -mod=mod -modfile=operator-sdk.mod -o=$(GOBIN ) /operator-sdk-v1.41.1 " github.com/operator-framework/operator-sdk/cmd/operator-sdk"
97103
98104OPM := $(GOBIN ) /opm-v1.60.0
99105$(OPM ) : $(BINGO_DIR ) /opm.mod
100106 @# Install binary/ries using Go 1.14+ build command. This is using bwplotka/bingo-controlled, separate go module with pinned dependencies.
101107 @echo " (re)installing $( GOBIN) /opm-v1.60.0"
102- @cd $(BINGO_DIR ) && GOWORK=off $(GO ) build -tags=containers_image_openpgp -mod=mod -modfile=opm.mod -o=$(GOBIN ) /opm-v1.60.0 " github.com/operator-framework/operator-registry/cmd/opm"
108+ @cd $(BINGO_DIR ) && GOWORK=off GOOS= $( GOHOSTOS ) GOARCH= $( GOHOSTARCH ) GOARM= $( GOHOSTARM ) $(GO ) build -tags=containers_image_openpgp -mod=mod -modfile=opm.mod -o=$(GOBIN ) /opm-v1.60.0 " github.com/operator-framework/operator-registry/cmd/opm"
103109
104110SETUP_ENVTEST := $(GOBIN ) /setup-envtest-v0.0.0-20250620151452-b9a9ca01fd37
105111$(SETUP_ENVTEST ) : $(BINGO_DIR ) /setup-envtest.mod
106112 @# Install binary/ries using Go 1.14+ build command. This is using bwplotka/bingo-controlled, separate go module with pinned dependencies.
107113 @echo " (re)installing $( GOBIN) /setup-envtest-v0.0.0-20250620151452-b9a9ca01fd37"
108- @cd $(BINGO_DIR ) && GOWORK=off $(GO ) build -mod=mod -modfile=setup-envtest.mod -o=$(GOBIN ) /setup-envtest-v0.0.0-20250620151452-b9a9ca01fd37 " sigs.k8s.io/controller-runtime/tools/setup-envtest"
114+ @cd $(BINGO_DIR ) && GOWORK=off GOOS= $( GOHOSTOS ) GOARCH= $( GOHOSTARCH ) GOARM= $( GOHOSTARM ) $(GO ) build -mod=mod -modfile=setup-envtest.mod -o=$(GOBIN ) /setup-envtest-v0.0.0-20250620151452-b9a9ca01fd37 " sigs.k8s.io/controller-runtime/tools/setup-envtest"
109115
110116YAMLFMT := $(GOBIN ) /yamlfmt-v0.20.0
111117$(YAMLFMT ) : $(BINGO_DIR ) /yamlfmt.mod
112118 @# Install binary/ries using Go 1.14+ build command. This is using bwplotka/bingo-controlled, separate go module with pinned dependencies.
113119 @echo " (re)installing $( GOBIN) /yamlfmt-v0.20.0"
114- @cd $(BINGO_DIR ) && GOWORK=off $(GO ) build -mod=mod -modfile=yamlfmt.mod -o=$(GOBIN ) /yamlfmt-v0.20.0 " github.com/google/yamlfmt/cmd/yamlfmt"
120+ @cd $(BINGO_DIR ) && GOWORK=off GOOS= $( GOHOSTOS ) GOARCH= $( GOHOSTARCH ) GOARM= $( GOHOSTARM ) $(GO ) build -mod=mod -modfile=yamlfmt.mod -o=$(GOBIN ) /yamlfmt-v0.20.0 " github.com/google/yamlfmt/cmd/yamlfmt"
115121
0 commit comments