Skip to content

Commit

Permalink
fix: add internal-port(80) (#75)
Browse files Browse the repository at this point in the history
  • Loading branch information
almog8k authored Sep 19, 2023
1 parent 1815cae commit b6393ac
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 2 additions & 2 deletions helm/templates/service.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,10 @@ spec:
type: NodePort
{{- end }}
ports:
- port: {{ .Values.env.port }}
- port: {{ .Values.env.internalPort }}
targetPort: {{ .Values.env.targetPort }}
protocol: TCP
name: external
name: internal
{{- if eq $cloudProviderFlavor "minikube" }}
nodePort: {{ .Values.nodePort }}
{{- end }}
Expand Down
1 change: 1 addition & 0 deletions helm/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ image:
env:
port: 8080
targetPort: 8080
internalPort: 80
logLevel: info
logPrettyPrintEnabled: false
responseCompressionEnabled: true
Expand Down

0 comments on commit b6393ac

Please sign in to comment.