Skip to content

Commit

Permalink
Template variable for container port (argoproj#251)
Browse files Browse the repository at this point in the history
Signed-off-by: Anand Francis Joseph <[email protected]>
  • Loading branch information
anandf authored Nov 15, 2023
1 parent 53e28ff commit d7927a2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion helm-guestbook/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ spec:
imagePullPolicy: {{ .Values.image.pullPolicy }}
ports:
- name: http
containerPort: 80
containerPort: {{ .Values.containerPort }}
protocol: TCP
livenessProbe:
httpGet:
Expand Down
2 changes: 2 additions & 0 deletions helm-guestbook/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ image:
tag: 0.1
pullPolicy: IfNotPresent

containerPort: 80

service:
type: ClusterIP
port: 80
Expand Down

0 comments on commit d7927a2

Please sign in to comment.