From 2534d01cb41165d7ce8636b032296bee4c575ced Mon Sep 17 00:00:00 2001 From: Christoph Barbian Date: Wed, 23 Aug 2023 10:07:57 +0200 Subject: [PATCH] Makefile: fix envtest permissions --- Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 1fac48d..ffb9bd6 100644 --- a/Makefile +++ b/Makefile @@ -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 @@ -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 \ No newline at end of file + rm -f pkg/operator/data/charts/*/*.tgz