Take into account aarch64 architecture return from uname

This commit is contained in:
nodje
2022-01-26 09:32:16 +01:00
committed by GitHub
parent 4aeeb8db82
commit 47d3ef57f2

View File

@@ -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