From f14aa71c6412b94519ec1e2cf7d598725946f1b3 Mon Sep 17 00:00:00 2001 From: Michael Hrivnak Date: Fri, 21 Feb 2020 16:03:59 -0500 Subject: [PATCH] fixes broken `make manifests`, which was also breaking `make unit`. kustomize was interpreting the path argument `github.com/openshift/cluster-api/config` as a URL instead of a relative file path. It was doing something with git to retrieve files from github, put them in a temporary directory (hence the confusing error message about a directory in /tmp/), then failing to find what it expected. fixes #48 --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index e5574ecff..7ab4dfc0b 100644 --- a/Makefile +++ b/Makefile @@ -37,7 +37,7 @@ manifests: go run vendor/sigs.k8s.io/controller-tools/cmd/controller-gen/main.go all kustomize build config/ > provider-components.yaml echo "---" >> provider-components.yaml - cd vendor && kustomize build github.com/openshift/cluster-api/config >> ../provider-components.yaml + kustomize build vendor/github.com/openshift/cluster-api/config >> provider-components.yaml # Run go fmt against code fmt: