Skip to content

Commit 379844d

Browse files
committed
fix port
1 parent f8672b7 commit 379844d

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

chart/chartsmith/templates/chartsmith-deployment.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ spec:
4343
imagePullPolicy: {{ .Values.images.app.pullPolicy }}
4444
ports:
4545
- name: http
46-
containerPort: {{ .Values.service.port }}
46+
containerPort: {{ .Values.service.targetPort }}
4747
protocol: TCP
4848
livenessProbe:
4949
{{- toYaml .Values.livenessProbe | nindent 12 }}

chart/chartsmith/templates/chartsmith-service.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,10 @@ spec:
99
type: {{ .Values.service.type }}
1010
ports:
1111
- port: {{ .Values.service.port }}
12-
targetPort: http
12+
targetPort: {{ .Values.service.targetPort }}
1313
protocol: TCP
1414
name: http
1515
selector:
1616
app.kubernetes.io/name: {{ include "chartsmith.name" . }}
1717
app.kubernetes.io/instance: {{ .Release.Name }}
18-
app.kubernetes.io/component: app
18+
app.kubernetes.io/component: app

chart/chartsmith/values.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,7 @@ securityContext: {}
5151
service:
5252
type: ClusterIP
5353
port: 80
54+
targetPort: 3000
5455
annotations: {}
5556
labels: {}
5657

0 commit comments

Comments
 (0)