Skip to content

Commit

Permalink
fixes helm#12
Browse files Browse the repository at this point in the history
Signed-off-by: denismaggior8 <[email protected]>
  • Loading branch information
denismaggior8 committed Nov 15, 2023
1 parent 4888ba8 commit 5eec473
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion charts/hello-world/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ spec:
imagePullPolicy: {{ .Values.image.pullPolicy }}
ports:
- name: http
containerPort: 80
containerPort: {{ .Values.deployment.containerPort }}
protocol: TCP
livenessProbe:
httpGet:
Expand Down
2 changes: 1 addition & 1 deletion charts/hello-world/templates/service.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ spec:
type: {{ .Values.service.type }}
ports:
- port: {{ .Values.service.port }}
targetPort: http
targetPort: {{ .Values.service.targetPort }}
protocol: TCP
name: http
selector:
Expand Down
4 changes: 4 additions & 0 deletions charts/hello-world/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,3 +25,7 @@ serviceAccount:
service:
type: ClusterIP
port: 80
targetPort: 8081

deployment:
containerPort: 8081

0 comments on commit 5eec473

Please sign in to comment.