-
Notifications
You must be signed in to change notification settings - Fork 1
/
Makefile.vars.mk
35 lines (24 loc) · 1.09 KB
/
Makefile.vars.mk
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
IMG_TAG ?= latest
CURDIR ?= $(shell pwd)
BIN_FILENAME ?= $(CURDIR)/$(PROJECT_ROOT_DIR)/lieutenant-operator
TESTBIN_DIR ?= $(CURDIR)/$(PROJECT_ROOT_DIR)/testbin/bin
CRD_FILE ?= lieutenant-crd.yaml
CRD_ROOT_DIR ?= config/crd/
CRD_DOCS_REF_PATH ?= docs/modules/ROOT/pages/references/api-reference.adoc
KIND_NODE_VERSION ?= v1.24.2
KIND ?= go run sigs.k8s.io/kind
ENABLE_LEADER_ELECTION ?= false
KIND_KUBECONFIG ?= $(TESTBIN_DIR)/kind-kubeconfig-$(KIND_NODE_VERSION)
KIND_CLUSTER ?= lieutenant-$(KIND_NODE_VERSION)
KIND_KUBECTL_ARGS ?= --validate=true
SHASUM ?= $(shell command -v sha1sum > /dev/null && echo "sha1sum" || echo "shasum -a1")
E2E_TAG ?= e2e_$(shell $(SHASUM) $(BIN_FILENAME) | cut -b-8)
E2E_REPO ?= local.dev/lieutenant/e2e
E2E_IMG = $(E2E_REPO):$(E2E_TAG)
BATS_FILES ?= .
INTEGRATION_TEST_DEBUG_OUTPUT ?= false
KUSTOMIZE ?= go run sigs.k8s.io/kustomize/kustomize/v5
# Image URL to use all building/pushing image targets
DOCKER_IMG ?= docker.io/projectsyn/lieutenant-operator:$(IMG_TAG)
QUAY_IMG ?= quay.io/projectsyn/lieutenant-operator:$(IMG_TAG)
testbin_created = $(TESTBIN_DIR)/.created