We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 72524ca commit 5eb6db6Copy full SHA for 5eb6db6
Makefile
@@ -224,6 +224,7 @@ $(LOCALBIN):
224
225
## Tool Binaries
226
KUSTOMIZE ?= $(LOCALBIN)/kustomize
227
+YQ ?= $(LOCALBIN)/yq
228
CONTROLLER_GEN ?= $(LOCALBIN)/controller-gen
229
ENVTEST ?= $(LOCALBIN)/setup-envtest
230
OPENSHIFT-GOIMPORTS ?= $(LOCALBIN)/openshift-goimports
@@ -397,7 +398,7 @@ output_dir := 'config/crd/'
397
398
check_yq:
399
@command -v yq >/dev/null 2>&1 || (echo "Installing wget..."; yum install -y wget)
400
@command -v yq >/dev/null 2>&1 || (echo "Installing yq..."; wget https://github.com/mikefarah/yq/releases/download/v4.2.0/yq_linux_amd64.tar.gz -O - |\
- tar xz && mv yq_linux_amd64 /usr/bin/yq)
401
+ tar xz && mv yq_linux_amd64 $(YQ))
402
403
# this works on a MacOS by replacing awk with gawk
404
.PHONY: split_yaml
0 commit comments