-
Notifications
You must be signed in to change notification settings - Fork 26
/
Makefile
77 lines (62 loc) · 1.87 KB
/
Makefile
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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
# /*
# | Protect your secrets, protect your sensitive data.
# : Explore VMware Secrets Manager docs at https://vsecm.com/
# </
# <>/ keep your secrets... secret
# >/
# <>/' Copyright 2023-present VMware Secrets Manager contributors.
# >/' SPDX-License-Identifier: BSD-2-Clause
# */
# The common version tag is assigned to all the things.
ifdef VSECM_VERSION
VERSION := $(VSECM_VERSION)
else
VERSION := 0.28.1
endif
# Set deploySpire to false, if you want to use existing spire deployment
ifdef deploySpire
DEPLOY_SPIRE := $(deploySpire)
else
DEPLOY_SPIRE := "true"
endif
IMAGE=distroless
DEPLOYMENT_NAME=vsecm
VSECM_DOCKERHUB_REGISTRY_URL ?= "vsecm"
VSECM_LOCAL_REGISTRY_URL ?= "localhost:5000"
VSECM_NAMESPACE_SYSTEM ?= "vsecm-system"
VSECM_NAMESPACE_SPIRE ?= "spire-system"
VSECM_NAMESPACE_SPIRE_SERVER ?= "spire-server"
# VSECM_NAMESPACE_SYSTEM ?= "vsecm-system-custom"
# VSECM_NAMESPACE_SPIRE ?= "spire-system-custom"
# VSECM_NAMESPACE_SPIRE_SERVER ?= "spire-server-custom"
# Utils
include ./makefiles/VSecMMacOs.mk
include ./makefiles/VSecMDeploy.mk
## Inspector
include ./makefiles/VSecMInspector.mk
## Keygen
include ./makefiles/VSecMKeyGen.mk
## VMware Secrets Manager
include ./makefiles/VSecMSafe.mk
include ./makefiles/VSecMSentinel.mk
include ./makefiles/VSecMScout.mk
include ./makefiles/VSecMKeystone.mk
include ./makefiles/VSecMInitContainer.mk
include ./makefiles/VSecMSidecar.mk
## Examples
include ./makefiles/VSecMExampleSidecar.mk
include ./makefiles/VSecMExampleSdk.mk
include ./makefiles/VSecMExampleMultipleSecrets.mk
include ./makefiles/VSecMExampleInitContainer.mk
## Build
include ./makefiles/VSecMBuild.mk
## Help
include ./makefiles/VSecMHelp.mk
## Helm-chart, k8s-manifests utils
include makefiles/VSecMHelmUtils.mk
## Git Helper
include makefiles/Git.mk
## Coverage
include makefiles/Test.mk
## Generate Proto Files
include makefiles/VSecMGenerateProtoFiles.mk