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 @@ -283,8 +283,10 @@ manifests: gen-crds patch-crds label-crds gen-bindata gen-values-schema gen-char
283
283
.PHONY : gen
284
284
gen : clientset gen-crd-protos manifests openapi
285
285
286
- CHART_VERSION ?=
287
- APP_VERSION ?= $(CHART_VERSION )
286
+ CHART_REGISTRY ?= appscode
287
+ CHART_REGISTRY_URL ?= https://charts.appscode.com/stable/
288
+ CHART_VERSION ?=
289
+ APP_VERSION ?= $(CHART_VERSION )
288
290
289
291
.PHONY : update-charts
290
292
update-charts : $(shell find $$(pwd ) /charts -maxdepth 1 -mindepth 1 -type d -printf 'chart-% f ')
@@ -293,6 +295,8 @@ chart-%:
293
295
@$(MAKE ) chart-contents-$* gen-chart-doc-$* --no-print-directory
294
296
295
297
chart-contents-% :
298
+ @yq w -i ./charts/$* /doc.yaml repository.name --tag ' !!str' $(CHART_REGISTRY )
299
+ @yq w -i ./charts/$* /doc.yaml repository.url --tag ' !!str' $(CHART_REGISTRY_URL )
296
300
@if [ ! -z " $( CHART_VERSION) " ]; then \
297
301
yq w -i ./charts/$* /Chart.yaml version --tag ' !!str' $(CHART_VERSION ) ; \
298
302
yq w -i ./charts/$* /doc.yaml chart.version --tag ' !!str' $(CHART_VERSION ) ; \
You can’t perform that action at this time.
0 commit comments