"git@git.gitsec.cn:baidan/Koordinator.git" did not exist on "9891d0a8310d0e84d5479452474239c6762af491"
Commit df7580e8 authored by Dinar Valeev's avatar Dinar Valeev
Browse files

Remove helm incompatible chars from values.yaml


Remove %% around VERSION in charts yaml, so helm can process it.

Otherwise helm complains:
"unmarshal vendor values: yaml: line 7: found character that cannot start any token"
Signed-off-by: default avatarDinar Valeev <k0da@opensuse.org>
parent 1249d51b
Showing with 2 additions and 2 deletions
+2 -2
......@@ -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
......
......@@ -5,7 +5,7 @@
image:
prefix: rook
repository: rook/ceph
tag: %%VERSION%%
tag: VERSION
pullPolicy: IfNotPresent
hyperkube:
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment