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 }}