File tree Expand file tree Collapse file tree 1 file changed +5
-0
lines changed
Expand file tree Collapse file tree 1 file changed +5
-0
lines changed Original file line number Diff line number Diff line change @@ -288,13 +288,18 @@ helm-test: ## Template the charts.
288288
289289.PHONY : helm-build
290290helm-build : # # Package helm charts.
291+ yq eval -i ' .gateway.image.tag = "${VERSION}"' deployment/charts/cluster-connect-gateway/values.yaml
292+ yq eval -i ' .controller.image.tag = "${VERSION}"' deployment/charts/cluster-connect-gateway/values.yaml
293+ yq eval -i ' .agent.image.tag = "${VERSION}"' deployment/charts/cluster-connect-gateway/values.yaml
291294 for d in $( HELM_DIRS) ; do \
292295 yq eval -i ' .version = "${HELM_VERSION}"' $$ d/Chart.yaml; \
293296 yq eval -i ' .appVersion = "${VERSION}"' $$ d/Chart.yaml; \
294297 yq eval -i ' .annotations.revision = "${LABEL_REVISION}"' $$ d/Chart.yaml; \
295298 yq eval -i ' .annotations.created = "${LABEL_CREATED}"' $$ d/Chart.yaml; \
296299 helm package --app-version=${VERSION} --version=${HELM_VERSION} --debug -u $$ d; \
297300 done
301+ # revert the temporary changes done in charts
302+ git checkout deployment/charts/cluster-connect-gateway-crd/Chart.yaml deployment/charts/cluster-connect-gateway/Chart.yaml deployment/charts/cluster-connect-gateway/values.yaml
298303
299304.PHONY : helm-push
300305helm-push : # # Push helm charts.
You can’t perform that action at this time.
0 commit comments