Merge pull request #766 from nodje/Makefile-aarch64-patch

Take into account `aarch64` architecture return from uname
This commit is contained in:
Shane McDonald
2022-02-11 17:36:10 -05:00
committed by GitHub

View File

@@ -93,7 +93,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