Allow to package charts in specified directory

Use make PACKAGE_DIR=/foo/bar/

Change-Id: I37db3f507c9375c64081adcf994ede3829dbb34b
This commit is contained in:
Vasyl Saienko 2024-09-24 11:07:48 +00:00
parent 8807cd8189
commit bd8ae094a8

View File

@ -20,6 +20,10 @@ ifdef VERSION
PKG_ARGS += --version $(VERSION)
endif
ifdef PACKAGE_DIR
PKG_ARGS += --destination $(PACKAGE_DIR)
endif
EXCLUDES := helm-toolkit doc tests tools logs tmp roles playbooks releasenotes zuul.d
CHARTS := helm-toolkit $(filter-out $(EXCLUDES), $(patsubst %/.,%,$(wildcard */.)))