Skip to content

Commit b3dcd6f

Browse files
committed
scaffold: fix envtest permissions in generated Makefile
1 parent c08db47 commit b3dcd6f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

scaffold/templates/Makefile.tpl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -121,5 +121,6 @@ $(SETUP_ENVTEST): $(LOCALBIN)
121121
.PHONY: envtest
122122
envtest: setup-envtest
123123
ENVTESTDIR=$$($(SETUP_ENVTEST) use $(ENVTEST_K8S_VERSION) --bin-dir $(LOCALBIN) -p path) ;\
124+
chmod -R u+w $$ENVTESTDIR ;\
124125
rm -f $(LOCALBIN)/k8s/current ;\
125126
ln -s $$ENVTESTDIR $(LOCALBIN)/k8s/current

0 commit comments

Comments
 (0)