File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed
Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change 2222 $(error Unsupported platform : $(UNAME_S ) . Please use macOS or Linux (or WSL2 on Windows))
2323endif
2424
25- CONTAINER_TOOL := $(shell if command -v podman >/dev/null 2>&1; then echo podman ; elif command -v docker >/dev/null 2>&1; then echo docker ; else echo ""; fi)
25+ CONTAINER_TOOL := $(shell if command -v docker >/dev/null 2>&1; then echo docker ; elif command -v podman >/dev/null 2>&1; then echo podman ; else echo ""; fi)
2626
2727# Configuration
2828REGISTRY ?= quay.io
@@ -69,9 +69,10 @@ help: ## Display this help message
6969# #@ Setup & Installation
7070
7171check-prereqs : # # Check if required tools are installed
72- @printf " $( BLUE) Checking prerequisites...$( NC) \n"
73- @[ -n " $( CONTAINER_TOOL) " ] || (printf " $( RED) ✗ docker or podman not found$( NC) .\n" && exit 1)
72+ @printf " $( BLUE) Checking prerequisites...$( NC) \n"
73+ @[ -n " $( CONTAINER_TOOL) " ] || (printf " $( RED) ✗ Docker or Podman not found$( NC) .\n" && exit 1)
7474 @printf " $( GREEN) ✓ $( CONTAINER_TOOL) found$( NC) \n"
75+ @[ "$(CONTAINER_TOOL)" == "podman" ] || (printf "$(YELLOW)✗ ⚠ Docker is required for kind cluster support. $(NC).\n")
7576 @command -v kubectl >/dev/null 2>&1 || (printf "$(RED)✗ kubectl not found$(NC). Run: brew install kubectl\n" && exit 1)
7677 @printf "$(GREEN)✓ kubectl found$(NC)\n"
7778 @command -v kind >/dev/null 2>&1 || (printf "$(RED)✗ kind not found$(NC). Run: brew install kind\n" && exit 1)
You can’t perform that action at this time.
0 commit comments