Skip to content

Commit

Permalink
expose port and fix svc and ingress port
Browse files Browse the repository at this point in the history
  • Loading branch information
TakGN committed Jul 15, 2024
1 parent de0fa2d commit 9e99ed8
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,8 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
tini libssl-dev ca-certificates \
&& rm -rf /var/lib/apt/lists/*

EXPOSE 8080

# Non-root user for security purposes.
#
# UIDs below 10,000 are a security risk, as a container breakout could result
Expand Down
2 changes: 1 addition & 1 deletion k8s/templates/ingress.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ spec:
service:
name: {{ .Values.name }}
port:
number: 8
number: 8080
path: /
pathType: ImplementationSpecific
tls:
Expand Down
2 changes: 1 addition & 1 deletion k8s/templates/svc.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,5 @@ spec:
selector:
app: {{ .Values.name }}
ports:
- port: 8090
- port: 8080
targetPort: {{ .Values.port }}

0 comments on commit 9e99ed8

Please sign in to comment.