File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -242,8 +242,10 @@ manifests: gen-crds label-crds gen-bindata gen-values-schema gen-chart-doc
242
242
.PHONY : gen
243
243
gen : clientset gen-crd-protos manifests openapi
244
244
245
- CHART_VERSION ?=
246
- APP_VERSION ?= $(CHART_VERSION )
245
+ CHART_REGISTRY ?= appscode
246
+ CHART_REGISTRY_URL ?= https://charts.appscode.com/stable/
247
+ CHART_VERSION ?=
248
+ APP_VERSION ?= $(CHART_VERSION )
247
249
248
250
.PHONY : update-charts
249
251
update-charts : $(shell find $$(pwd ) /charts -maxdepth 1 -mindepth 1 -type d -printf 'chart-% f ')
@@ -252,6 +254,8 @@ chart-%:
252
254
@$(MAKE ) chart-contents-$* gen-chart-doc-$* --no-print-directory
253
255
254
256
chart-contents-% :
257
+ @yq w -i ./charts/$* /doc.yaml repository.name --tag ' !!str' $(CHART_REGISTRY )
258
+ @yq w -i ./charts/$* /doc.yaml repository.url --tag ' !!str' $(CHART_REGISTRY_URL )
255
259
@if [ ! -z " $( CHART_VERSION) " ]; then \
256
260
yq w -i ./charts/$* /Chart.yaml version --tag ' !!str' $(CHART_VERSION ) ; \
257
261
fi
You can’t perform that action at this time.
0 commit comments