mirror of
https://github.com/ansible/awx-operator.git
synced 2026-05-08 06:12:54 +00:00
Take into account aarch64 architecture return from uname
This commit is contained in:
2
Makefile
2
Makefile
@@ -92,7 +92,7 @@ undeploy: ## Undeploy controller from the K8s cluster specified in ~/.kube/confi
|
|||||||
$(KUSTOMIZE) build config/default | kubectl delete -f -
|
$(KUSTOMIZE) build config/default | kubectl delete -f -
|
||||||
|
|
||||||
OS := $(shell uname -s | tr '[:upper:]' '[:lower:]')
|
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
|
.PHONY: kustomize
|
||||||
KUSTOMIZE = $(shell pwd)/bin/kustomize
|
KUSTOMIZE = $(shell pwd)/bin/kustomize
|
||||||
|
|||||||
Reference in New Issue
Block a user