-
Notifications
You must be signed in to change notification settings - Fork 4
/
Makefile
18 lines (15 loc) · 861 Bytes
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
## Update chart's Docs and Schemas
docs:
ifeq (, $(shell which helm-docs))
$(error "Please, install https://github.com/norwoodj/helm-docs first")
endif
helm-docs
SCHEMA-GEN := $(shell helm plugin ls | grep schema-gen 2>/dev/null)
schema:
ifndef SCHEMA-GEN
$(error "Please, run: helm plugin install https://github.com/karuppiah7890/helm-schema-gen.git first")
endif
helm schema-gen charts/edb-postgres-for-kubernetes/values.yaml > charts/edb-postgres-for-kubernetes/values.schema.json
helm schema-gen charts/edb-postgres-distributed-for-kubernetes/charts/edb-postgres-for-kubernetes-lts/values.yaml \
> charts/edb-postgres-distributed-for-kubernetes/charts/edb-postgres-for-kubernetes-lts/values.schema.json
helm schema-gen charts/edb-postgres-distributed-for-kubernetes/values.yaml > charts/edb-postgres-distributed-for-kubernetes/values.schema.json