-
Notifications
You must be signed in to change notification settings - Fork 2
/
Makefile
29 lines (24 loc) · 1.2 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
# Image URL to use all building/pushing image targets
IMG ?= aveshasystems/gateway-certs-generator:latest
.PHONY: docker-build
docker-build: ## Build docker image with the manager.
docker build -t ${IMG} .
.PHONY: chart-deploy
chart-deploy:
## Deploy the artifacts using helm
## Usage: make chart-deploy VALUESFILE=[valuesfilename]
helm upgrade --install cert-manager avesha/cert-manager --namespace cert-manager --create-namespace --set installCRDs=true
helm upgrade --install kubeslice-controller -n kubeslice-controller avesha/kubeslice-controller -f ${VALUESFILE} --create-namespace
.PHONY: chart-undeploy
chart-undeploy:
helm uninstall kubeslice-controller -n kubeslice-controller
helm uninstall cert-manager -n cert-manager
.PHONY: chart-deploy-cert
chart-deploy-cert:
## Deploy the artifacts using helm
helm upgrade --install cert-manager avesha/cert-manager --namespace cert-manager --create-namespace --set installCRDs=true
.PHONY: chart-deploy-controller
chart-deploy-controller:
## Deploy the artifacts using helm
## Usage: make chart-deploy VALUESFILE=[valuesfilename]
helm upgrade --install kubeslice-controller -n kubeslice-controller avesha/kubeslice-controller -f ${VALUESFILE} --create-namespace