Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion incubator/monochart/templates/service.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ spec:
ports:
{{- range $name, $port := .Values.service.ports }}
{{- if $port }}
- targetPort: {{ $name }}
- targetPort: {{ $port.internal }}
port: {{ $port.external }}
protocol: {{ default "TCP" $port.protocol }}
name: {{ $name }}
Expand Down
6 changes: 3 additions & 3 deletions incubator/monochart/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -214,9 +214,9 @@ service:
enabled: false
type: ClusterIP
# ports:
# name:
# internal: 80
# external: 80
# name: #Name of the Port for Multi-Port Services
# internal: 80 #This is the targetPort for the application/deployment/etc.
# external: 80 #This is the incoming port
# labels:
# name: value
# annotations:
Expand Down