Skip to content

Commit

Permalink
Makefile: fix envtest permissions
Browse files Browse the repository at this point in the history
  • Loading branch information
cbarbian-sap committed Aug 23, 2023
1 parent aae89f8 commit 2534d01
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,7 @@ $(SETUP_ENVTEST): $(LOCALBIN)
.PHONY: envtest
envtest: setup-envtest
ENVTESTDIR=$$($(SETUP_ENVTEST) use $(ENVTEST_K8S_VERSION) --bin-dir $(LOCALBIN) -p path) ;\
chmod -R u+w $$ENVTESTDIR ;\
rm -f $(LOCALBIN)/k8s/current ;\
ln -s $$ENVTESTDIR $(LOCALBIN)/k8s/current

Expand All @@ -130,4 +131,4 @@ update-content: ## Update external resources used by this repository.
rm -rf pkg/operator/data/charts
mkdir -p pkg/operator/data/charts
helm fetch oci://ghcr.io/sap/cf-service-operator-helm/cf-service-operator --untar --untardir pkg/operator/data/charts
rm -f pkg/operator/data/charts/*/*.tgz
rm -f pkg/operator/data/charts/*/*.tgz

0 comments on commit 2534d01

Please sign in to comment.