openshift / oadp-operator

OADP Operator
Apache License 2.0
77 stars 70 forks source link

Allow override of CLUSTER_ARCH in container build #1484

Open kaovilai opened 1 month ago

kaovilai commented 1 month ago
CLUSTER_OS ?= $(shell $(OC_CLI) get node -o jsonpath='{.items[0].status.nodeInfo.operatingSystem}' 2> /dev/null)
CLUSTER_ARCH ?= $(shell $(OC_CLI) get node -o jsonpath='{.items[0].status.nodeInfo.architecture}' 2> /dev/null)

_Originally posted by @kaovilai in https://github.com/openshift/oadp-operator/pull/1478#discussion_r1705720436_