-
Notifications
You must be signed in to change notification settings - Fork 48
/
Makefile
25 lines (20 loc) · 1011 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
.PHONY: charts all
VERBOSE?=false
all: verify-charts charts
verify-charts:
@echo Verifying helm charts images in remote registries && \
arkade chart verify --verbose=$(VERBOSE) -f ./chart/inlets-http-server/values.yaml && \
arkade chart verify --verbose=$(VERBOSE) -f ./chart/inlets-tcp-client/values.yaml && \
arkade chart verify --verbose=$(VERBOSE) -f ./chart/inlets-tcp-server/values.yaml
upgrade-charts:
@echo Upgrading images for all helm charts && \
arkade chart upgrade --verbose=$(VERBOSE) -w -f ./chart/inlets-http-server/values.yaml && \
arkade chart upgrade --verbose=$(VERBOSE) -w -f ./chart/inlets-tcp-client/values.yaml && \
arkade chart upgrade --verbose=$(VERBOSE) -w -f ./chart/inlets-tcp-server/values.yaml
charts:
cd chart && \
helm package inlets-http-server/ && \
helm package inlets-tcp-server/ && \
helm package inlets-tcp-client/
mv chart/*.tgz docs/charts
helm repo index docs/charts --url https://inlets.github.io/inlets-pro/charts --merge ./docs/charts/index.yaml