Skip to content

Commit d97f552

Browse files
committed
fix
1 parent 1620099 commit d97f552

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

Makefile

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -297,17 +297,17 @@ helm-test: ## Template the charts.
297297
.PHONY: helm-build
298298
helm-build: ## Package helm charts.
299299
mkdir -p $(BUILD_DIR)
300+
yq eval -i '.clusterManager.image.tag = "${VERSION}"' deployment/charts/cluster-manager/values.yaml
301+
yq eval -i '.templateController.image.tag = "${VERSION}"' deployment/charts/cluster-manager/values.yaml
300302
for d in $(HELM_DIRS); do \
301303
yq eval -i '.version = "${HELM_VERSION}"' $$d/Chart.yaml; \
302304
yq eval -i '.appVersion = "${VERSION}"' $$d/Chart.yaml; \
303305
yq eval -i '.annotations.revision = "${LABEL_REVISION}"' $$d/Chart.yaml; \
304306
yq eval -i '.annotations.created = "${LABEL_CREATED}"' $$d/Chart.yaml; \
305-
yq eval -i '.clusterManager.image.tag = "${VERSION}"' $$d/values.yaml; \
306-
yq eval -i '.templateController.image.tag = "${VERSION}"' $$d/values.yaml; \
307307
helm package --app-version=${VERSION} --version=${HELM_VERSION} --debug -u $$d -d $(BUILD_DIR); \
308308
done
309-
# revert the temporary changes done in Chart.yaml
310-
git checkout deployment/charts/cluster-template-crd/Chart.yaml deployment/charts/cluster-manager/Chart.yaml
309+
# revert the temporary changes done in charts
310+
git checkout deployment/charts/cluster-template-crd/Chart.yaml deployment/charts/cluster-manager/Chart.yaml deployment/charts/cluster-manager/values.yaml
311311

312312
.PHONY: helm-list
313313
helm-list:

0 commit comments

Comments
 (0)