Skip to content
This repository has been archived by the owner on Oct 20, 2023. It is now read-only.

error running make run_local #8

Closed
michelleN opened this issue Apr 5, 2021 · 1 comment
Closed

error running make run_local #8

michelleN opened this issue Apr 5, 2021 · 1 comment

Comments

@michelleN
Copy link

Ran the shipyard command, then ran make run_local and got the following error in my output:

le type": "*webhook.Server"}
2021-04-05T12:31:58.687-0400	ERROR	setup	problem running manager	{"error": "open /var/folders/_q/0by23tws10nc1m6fthw8pyrc0000gn/T/k8s-webhook-server/serving-certs/tls.crt: no such file or directory"}
github.com/go-logr/zapr.(*zapLogger).Error
	/Users/michellenoorali/go/pkg/mod/github.com/go-logr/zapr@v0.3.0/zapr.go:132
github.com/nicholasjackson/smi-controller-sdk/sdk/controller.Start
	/Users/michellenoorali/go/src/github.com/servicemeshinterface/smi-controller-sdk/sdk/controller/controller.go:157
main.main
	/Users/michellenoorali/go/src/github.com/servicemeshinterface/smi-controller-sdk/main.go:15
runtime.main
	/usr/local/Cellar/go/1.15.7/libexec/src/runtime/proc.go:204
exit status 1
@michelleN
Copy link
Author

It looks like TMPDIR was set to a temporary directory on my system where as controller-runtime was expecting my TMPDIR envvar to set be set to /tmp/

kubernetes-sigs/controller-runtime#900

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant