Skip to content

Commit

Permalink
Merge pull request rook#3863 from k0da/values_template
Browse files Browse the repository at this point in the history
Remove helm incompatible chars from values.yaml
  • Loading branch information
travisn authored Sep 17, 2019
2 parents 5295dfb + df7580e commit ceec3ac
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion build/makelib/helm.mk
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ define helm.chart
$(HELM_OUTPUT_DIR)/$(1)-$(VERSION).tgz: $(HELM) $(HELM_OUTPUT_DIR) $(shell find $(HELM_CHARTS_DIR)/$(1) -type f)
@echo === helm package $(1)
@cp -r $(HELM_CHARTS_DIR)/$(1) $(OUTPUT_DIR)
@$(SED_CMD) 's|%%VERSION%%|$(VERSION)|g' $(OUTPUT_DIR)/$(1)/values.yaml
@$(SED_CMD) 's|VERSION|$(VERSION)|g' $(OUTPUT_DIR)/$(1)/values.yaml
@$(HELM) lint --strict $(abspath $(OUTPUT_DIR)/$(1))
@$(HELM) package --version $(VERSION) -d $(HELM_OUTPUT_DIR) $(abspath $(OUTPUT_DIR)/$(1))
$(HELM_INDEX): $(HELM_OUTPUT_DIR)/$(1)-$(VERSION).tgz
Expand Down
2 changes: 1 addition & 1 deletion cluster/charts/rook-ceph/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
image:
prefix: rook
repository: rook/ceph
tag: %%VERSION%%
tag: VERSION
pullPolicy: IfNotPresent

hyperkube:
Expand Down

0 comments on commit ceec3ac

Please sign in to comment.