From 47d3ef57f20af8e61cf55ae495c3a6b90cd8a690 Mon Sep 17 00:00:00 2001 From: nodje Date: Wed, 26 Jan 2022 09:32:16 +0100 Subject: [PATCH] Take into account `aarch64` architecture return from uname --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index ea98b1e2..9350639b 100644 --- a/Makefile +++ b/Makefile @@ -92,7 +92,7 @@ undeploy: ## Undeploy controller from the K8s cluster specified in ~/.kube/confi $(KUSTOMIZE) build config/default | kubectl delete -f - OS := $(shell uname -s | tr '[:upper:]' '[:lower:]') -ARCH := $(shell uname -m | sed 's/x86_64/amd64/') +ARCH := $(shell uname -m | sed -e 's/x86_64/amd64/' -e 's/aarch64/arm64/') .PHONY: kustomize KUSTOMIZE = $(shell pwd)/bin/kustomize