From 8a6e06d0fe00a056c14ca676399efd19bcb3a1d4 Mon Sep 17 00:00:00 2001 From: Bruno Bressi Date: Sat, 28 Sep 2024 17:08:40 +0200 Subject: [PATCH] fix: corrected the makefile The directive was testing the architecture (i.e arm64/amd64) and not the os (darwin/linux). Signed-off-by: Bruno Bressi --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index eb6a832..0f7f198 100644 --- a/Makefile +++ b/Makefile @@ -22,7 +22,7 @@ e2e-cluster: @echo "Creating registry..." @k3d registry create registry.localhost --port $(PORT) @echo "Adding registry to cluster..." - @uname -m | grep -q 'Darwin' && export K3D_FIX_DNS=0; k3d cluster create cosign-tests --registry-use k3d-registry.localhost:$(PORT) + @uname | grep -q 'Darwin' && export K3D_FIX_DNS=0; k3d cluster create cosign-tests --registry-use k3d-registry.localhost:$(PORT) @echo "Create test namespace..." @kubectl create namespace test-cases