Skip to content

Commit

Permalink
Allow ports to define protocol (UDP / TCP)
Browse files Browse the repository at this point in the history
  • Loading branch information
davidfrickert committed Mar 28, 2024
1 parent 906958c commit 3d9ff96
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion charts/onechart/templates/service.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ spec:
nodePort: {{ .nodePort }}
{{- end }}
targetPort: {{ .name }}
protocol: TCP
protocol: {{ if .protocol }}{{ .protocol }}{{ else }}TCP{{ end }}
{{- end }}
{{- end }}
selector:
Expand Down

0 comments on commit 3d9ff96

Please sign in to comment.