Skip to content

Commit 33b4f41

Browse files
committed
fix(operator chart): setting chart version
Signed-off-by: matt <[email protected]>
1 parent 9277d06 commit 33b4f41

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

infra/charts/feast-operator/Chart.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,9 @@ type: application
1313
# This is the chart version. This version number should be incremented each time you make changes
1414
# to the chart and its templates, including the app version.
1515
# Versions are expected to follow Semantic Versioning (https://semver.org/)
16-
version: 0.1.0
16+
version: 0.52.0
1717
# This is the version number of the application being deployed. This version number should be
1818
# incremented each time you make changes to the application. Versions are not expected to
1919
# follow Semantic Versioning. They should reflect the version the application is using.
2020
# It is recommended to use it with quotes.
21-
appVersion: "0.1.0"
21+
appVersion: "0.52.0"

infra/feast-operator/Makefile

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -409,6 +409,10 @@ helm-generate: kustomize helmify related-image-fs ## Generate Helm chart dynamic
409409
@rm -rf $(HELM_CHART_DIR)/$(HELM_CHART_NAME)
410410
$(KUSTOMIZE) build config/default | $(HELMIFY) -crd-dir $(HELM_CHART_NAME)
411411
@mv $(HELM_CHART_NAME) $(HELM_CHART_DIR)/
412+
@echo "Setting chart version to $(VERSION)..."
413+
@sed -i.bak 's/version: 0.1.0/version: $(VERSION)/' $(HELM_CHART_DIR)/$(HELM_CHART_NAME)/Chart.yaml
414+
@sed -i.bak 's/appVersion: "0.1.0"/appVersion: "$(VERSION)"/' $(HELM_CHART_DIR)/$(HELM_CHART_NAME)/Chart.yaml
415+
@rm -f $(HELM_CHART_DIR)/$(HELM_CHART_NAME)/Chart.yaml.bak
412416
@echo "Dynamic Helm chart generated at $(HELM_CHART_DIR)/$(HELM_CHART_NAME)"
413417
@echo "Chart replaces the manually maintained chart - review and commit changes"
414418

0 commit comments

Comments
 (0)