Skip to content

Commit b753eeb

Browse files
committed
conditional added to tilt-up to check az
1 parent 736bfbc commit b753eeb

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

Makefile

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -749,6 +749,11 @@ aks-create: $(KUBECTL) ## Create aks cluster as mgmt cluster.
749749

750750
.PHONY: tilt-up
751751
tilt-up: install-tools ## Start tilt and build kind cluster if needed.
752+
ifeq (, $(shell which az))
753+
$(error "No az found")
754+
else
755+
@echo 'az is installed'
756+
endif
752757
@if [ -z "${AZURE_CLIENT_ID_USER_ASSIGNED_IDENTITY}" ]; then \
753758
export AZURE_CLIENT_ID_USER_ASSIGNED_IDENTITY=$(shell cat $(AZURE_IDENTITY_ID_FILEPATH)); \
754759
fi; \

0 commit comments

Comments
 (0)