-
Notifications
You must be signed in to change notification settings - Fork 5
/
Makefile
31 lines (25 loc) · 898 Bytes
/
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
# You can change these values
RELEASE_NAME_APP := app
IMAGE_EXPORT := integrity:latest
ALG := sha256
DIRS := "app,bin"
.PHONY : all
all: minikube start-minio-integrity-crd snapshots start-mutator helm-demo
@echo "==> Successfully installed all systems"
.PHONY : start-minio-integrity-crd
start-minio-integrity-crd:
make -C ./integrity-sum minio-install buildtools build docker crd-controller-build load-images crd-controller-deploy
.PHONY : snapshots
snapshots:
make -C ./integrity-sum IMAGE_EXPORT=$(IMAGE_EXPORT) ALG=$(ALG) DIRS=$(DIRS) export-fs snapshot helm-snapshot
.PHONY : start-mutator
start-mutator:
make -C ./integrity-mutator docker helm-mutator
@echo "==> Successfully installed mutator"
.PHONY : minikube
minikube:
minikube start
.PHONY: helm-demo
helm-demo:
helm install ${RELEASE_NAME_APP} helm-charts/demo-apps-to-monitor
@echo "==> Successfully installed demo-apps"