Skip to content

Commit

Permalink
fixes broken make manifests, which was also breaking make unit.
Browse files Browse the repository at this point in the history
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 metal3-io#48
  • Loading branch information
mhrivnak authored and n1r1 committed Mar 22, 2020
1 parent 4d1663e commit f14aa71
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit f14aa71

Please sign in to comment.