From 50aaf542a67f35329a378a5d9e235f71a801d854 Mon Sep 17 00:00:00 2001 From: dd di cesare Date: Mon, 17 Jun 2024 16:15:43 +0200 Subject: [PATCH] [make] Changing the repository name for helm charts --- make/helm.mk | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/make/helm.mk b/make/helm.mk index a3057ab5..d0e3b241 100644 --- a/make/helm.mk +++ b/make/helm.mk @@ -38,6 +38,8 @@ RELEASE_ID ?= ASSET_ID ?= # GitHub Release Asset Browser Download URL, it can be find in the output of the uploaded asset BROWSER_DOWNLOAD_URL ?= +# Github repo name for the helm charts repository +HELM_REPO_NAME ?= helm-charts ifeq (0.0.0,$(VERSION)) CHART_VERSION = $(VERSION)-dev else @@ -62,5 +64,5 @@ helm-sync-package: $(HELM) ## Sync the helm chart package to the helm-charts rep -H "Accept: application/vnd.github+json" \ -H "Authorization: Bearer $(GITHUB_TOKEN)" \ -H "X-GitHub-Api-Version: 2022-11-28" \ - https://api.github.com/repos/$(ORG)/$(REPO_NAME)/dispatches \ + https://api.github.com/repos/$(ORG)/$(HELM_REPO_NAME)/dispatches \ -d '{"event_type":"sync-chart","client_payload":{"chart":limitador-operator,"version":"$(CHART_VERSION)", "asset_id":"$(ASSET_ID)", "browser_download_url": "$(BROWSER_DOWNLOAD_URL)"}}'