forked from keptn/lifecycle-toolkit
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
41 lines (32 loc) · 1.03 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
# renovate: datasource=github-tags depName=jaegertracing/jaeger
JAEGER_VERSION ?= v1.45.0
LFC_NAMESPACE ?= keptn-lifecycle-controller-system
PODTATO_NAMESPACE ?= podtato-kubectl
GRAFANA_PORT_FORWARD ?= 3000
.PHONY: install
install:
make -C ../support/observability install
.PHONY: port-forward-jaeger
port-forward-jaeger:
make -C ../support/observability port-forward-jaeger
.PHONY: port-forward-grafana
port-forward-grafana:
make -C ../support/observability port-forward-grafana GRAFANA_PORT_FORWARD=$(GRAFANA_PORT_FORWARD)
.PHONY: deploy-version-1
deploy-version-1:
kubectl apply -k version-1
.PHONY: deploy-version-2
deploy-version-2:
kubectl apply -k version-2
.PHONY: deploy-version-3
deploy-version-3:
kubectl apply -k version-3
.PHONY: undeploy-podtatohead
undeploy-podtatohead:
kubectl delete ns "$(PODTATO_NAMESPACE)" --ignore-not-found=true
@echo "######################"
@echo "PodTatoHead undeployed"
@echo "######################"
.PHONY: uninstall
uninstall: undeploy-podtatohead
make -C ../support/observability uninstall