Skip to content

Commit

Permalink
change kustomize install templating to avoid tripping automated secur…
Browse files Browse the repository at this point in the history
…ity alerts

Signed-off-by: jberkhahn <jaberkha@us.ibm.com>
  • Loading branch information
jberkhahn committed Jan 27, 2023
1 parent 55ac993 commit 7779c40
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion Makefile
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,8 @@ test-testdata: ## Run the tests of the testdata directory
test-legacy: ## Run the legacy tests (go/v2) of the testdata directory
./test/testdata/test_legacy.sh

.PHONY: test-e2e-local
.PHONY: test-:1
e2e-local
test-e2e-local: ## Run the end-to-end tests locally
## To keep the same kind cluster between test runs, use `SKIP_KIND_CLEANUP=1 make test-e2e-local`
./test/e2e/local.sh
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,7 @@ $(KUSTOMIZE): $(LOCALBIN)
echo "$(LOCALBIN)/kustomize version is not expected $(KUSTOMIZE_VERSION). Removing it before installing."; \
rm -rf $(LOCALBIN)/kustomize; \
fi
test -s $(LOCALBIN)/kustomize || { curl -Ss $(KUSTOMIZE_INSTALL_SCRIPT) | bash -s -- $(subst v,,$(KUSTOMIZE_VERSION)) $(LOCALBIN); }
test -s $(LOCALBIN)/kustomize || { curl -Ss $(KUSTOMIZE_INSTALL_SCRIPT) --output install_kustomize.sh && bash install_kustomize.sh $(subst v,,$(KUSTOMIZE_VERSION)) $(LOCALBIN); rm install_kustomize.sh; }
.PHONY: controller-gen
controller-gen: $(CONTROLLER_GEN) ## Download controller-gen locally if necessary. If wrong version is installed, it will be overwritten.
Expand Down

0 comments on commit 7779c40

Please sign in to comment.