forked from logicmonitor/k8s-helm-charts
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile
46 lines (35 loc) · 1.29 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
all: charts index lint
.PHONY: charts
charts:
@helm package argus --destination docs
@helm repo index docs --url=https://logicmonitor.github.io/k8s-helm-charts
@helm package releasemanager --destination docs
@helm repo index docs --url=https://logicmonitor.github.io/k8s-release-manager
@helm package collectorset-controller --destination docs
@helm repo index docs --url=https://logicmonitor.github.io/k8s-helm-charts
@helm package lm-logs --destination docs
@helm repo index docs --url=https://logicmonitor.github.io/k8s-helm-charts
@helm package lmotel --destination docs
@helm repo index docs --url=https://logicmonitor.github.io/k8s-helm-charts
index:
helm repo index ./ --url https://logicmonitor.github.io/k8s-helm-charts
ifeq ($(shell uname -s), Linux)
sed -i 's/\/docs//' index.yaml
endif
ifeq ($(shell uname -s), Darwin)
sed -i '' 's/\/docs//' index.yaml
endif
mv index.yaml ./docs
lint:
@helm lint --strict argus --set accessID=dummy \
--set accessKey=dummy \
--set account=dummy \
--set clusterName=dummy \
--set collector.size=dummy
@helm lint --strict collectorset-controller --set accessID=dummy \
--set accessKey=dummy \
--set account=dummy
@helm lint --strict lmotel \
--set lm.bearer_token=dummy \
--set lm.account=dummy \
--set lm.otel_name=dummy