Skip to content

Commit

Permalink
Add Makefile target to verify and upgrade charts
Browse files Browse the repository at this point in the history
Signed-off-by: Han Verstraete (OpenFaaS Ltd) <[email protected]>
  • Loading branch information
welteki authored and alexellis committed Jan 29, 2024
1 parent f09ff6e commit e6a2353
Showing 1 changed file with 15 additions and 1 deletion.
16 changes: 15 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,6 +1,20 @@
.PHONY: charts all

all: charts
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 && \
Expand Down

0 comments on commit e6a2353

Please sign in to comment.