From c9129fbf43e06d9420b19d426d1ad1c4c29aea05 Mon Sep 17 00:00:00 2001 From: Andy Truong Date: Thu, 18 Apr 2024 16:56:00 +1000 Subject: [PATCH] Correct extraPorts hostPort property. --- CHANGELOG.md | 1 + operations/helm/charts/alloy/templates/cluster_service.yaml | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 1b7c5de0b1..1244827c6f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -32,6 +32,7 @@ Main (unreleased) - Fix an issue on Windows where uninstalling Alloy did not remove it from the Add/Remove programs list. (@rfratto) +- Fix wrong access alloy.extraPorts.hostPort in cluster service definition (@and1truong) v1.0.0 (2024-04-09) ------------------- diff --git a/operations/helm/charts/alloy/templates/cluster_service.yaml b/operations/helm/charts/alloy/templates/cluster_service.yaml index 1bc940b780..d819d670ae 100644 --- a/operations/helm/charts/alloy/templates/cluster_service.yaml +++ b/operations/helm/charts/alloy/templates/cluster_service.yaml @@ -24,7 +24,7 @@ spec: protocol: "TCP" {{- range $portMap := $values.extraPorts }} - name: {{ $portMap.name }} - port: {{ $portMap.port }} + port: {{ $portMap.hostPort }} targetPort: {{ $portMap.targetPort }} protocol: {{ coalesce $portMap.protocol "TCP" }} {{- end }}