Add global to possible values
This commit is contained in:
13
Makefile
Normal file
13
Makefile
Normal file
@ -0,0 +1,13 @@
|
||||
LOCALBIN ?= $(shell pwd)/bin
|
||||
$(LOCALBIN):
|
||||
mkdir -p $(LOCALBIN)
|
||||
|
||||
.PHONY: gen_docs
|
||||
gen_docs: ## Generate helm documentation
|
||||
test -s $(LOCALBIN)/helm-docs || GOBIN=$(LOCALBIN) go install github.com/norwoodj/helm-docs/cmd/helm-docs@latest
|
||||
./bin/helm-docs --template-files=./README.md.gotmpl --template-files=./docs --sort-values-order file
|
||||
|
||||
.PHONY: gen_schema
|
||||
gen_schema: ## Generate helm schema
|
||||
test -s $(LOCALBIN)/helm-schema || GOBIN=$(LOCALBIN) go install github.com/dadav/helm-schema/cmd/helm-schema@latest
|
||||
./bin/helm-schema --chart-search-root charts
|
Reference in New Issue
Block a user