Skip to content

Commit

Permalink
[make] Changing the repository name for helm charts
Browse files Browse the repository at this point in the history
  • Loading branch information
didierofrivia committed Jun 17, 2024
1 parent a9c24fa commit 25f5aed
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions make/helm.mk
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,8 @@ RELEASE_ID ?= <RELEASE-ID>
ASSET_ID ?= <ASSET-ID>
# GitHub Release Asset Browser Download URL, it can be find in the output of the uploaded asset
BROWSER_DOWNLOAD_URL ?= <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
Expand All @@ -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 \
-d '{"event_type":"sync-chart","client_payload":{"chart":limitador-operator,"version":"$(CHART_VERSION)", "asset_id":"$(ASSET_ID)", "browser_download_url": "$(BROWSER_DOWNLOAD_URL)"}}'
https://api.github.com/repos/$(ORG)/$(HELM_REPO_NAME)/dispatches \
-d '{"event_type":"sync-chart","client_payload":{"chart":"$(REPO_NAME)","version":"$(CHART_VERSION)", "asset_id":"$(ASSET_ID)", "browser_download_url": "$(BROWSER_DOWNLOAD_URL)"}}'

0 comments on commit 25f5aed

Please sign in to comment.