From 525a6b2f94240bd015a438546bcc99b9c49d0533 Mon Sep 17 00:00:00 2001 From: Pedro Nauck Date: Fri, 20 Dec 2024 04:21:59 -0300 Subject: [PATCH] build(repo): fix chart --- cluster/charts/fuel-streams/Chart.yaml | 2 +- cluster/charts/fuel-streams/templates/webserver/service.yaml | 5 +++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/cluster/charts/fuel-streams/Chart.yaml b/cluster/charts/fuel-streams/Chart.yaml index c5682e80..cf011233 100755 --- a/cluster/charts/fuel-streams/Chart.yaml +++ b/cluster/charts/fuel-streams/Chart.yaml @@ -2,7 +2,7 @@ apiVersion: v2 appVersion: "1.0" description: A Helm chart for Kubernetes name: fuel-streams -version: 0.6.1 +version: 0.6.2 dependencies: - name: nats version: 1.2.8 diff --git a/cluster/charts/fuel-streams/templates/webserver/service.yaml b/cluster/charts/fuel-streams/templates/webserver/service.yaml index 9afa9374..2f571d7f 100644 --- a/cluster/charts/fuel-streams/templates/webserver/service.yaml +++ b/cluster/charts/fuel-streams/templates/webserver/service.yaml @@ -1,3 +1,4 @@ +{{- $webserver := .Values.webserver }} {{- $service := $webserver.service }} {{- if and $webserver.enabled $service.enabled }} --- @@ -25,8 +26,8 @@ spec: externalTrafficPolicy: Local ports: - name: webserver - port: {{ $webserver.port }} - targetPort: {{ $webserver.port }} + port: {{ $service.port }} + targetPort: {{ $service.port }} protocol: TCP appProtocol: tcp selector: