Skip to content

Commit 09d328a

Browse files
committed
fix: make backend containerPort configurable (fixes #2)
- Add backend.containerPort value (defaults to 8080) - Update backend-deployment.yaml to use configurable port - Update backend.service.port default to 8080 - Bump chart version to 2.0.4 Closes #2
1 parent cf6eddb commit 09d328a

3 files changed

Lines changed: 6 additions & 3 deletions

File tree

charts/logtide/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ apiVersion: v2
22
name: logtide
33
description: A Helm chart for LogTide - Open-source log management and SIEM platform
44
type: application
5-
version: 2.0.3
5+
version: 2.0.4
66
appVersion: "0.4.0"
77

88
home: https://logtide.dev

charts/logtide/templates/backend-deployment.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ spec:
4141
imagePullPolicy: {{ .Values.backend.image.pullPolicy }}
4242
ports:
4343
- name: http
44-
containerPort: 3000
44+
containerPort: {{ .Values.backend.containerPort }}
4545
protocol: TCP
4646
envFrom:
4747
- configMapRef:

charts/logtide/values.yaml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,12 @@ backend:
2020
tag: "" # Defaults to appVersion
2121
pullPolicy: IfNotPresent
2222

23+
# Container port (must match the port your backend listens on)
24+
containerPort: 8080
25+
2326
service:
2427
type: ClusterIP
25-
port: 3000
28+
port: 8080
2629

2730
resources:
2831
requests:

0 commit comments

Comments
 (0)