Skip to content

Commit

Permalink
Merge pull request helm#8 from nightscape/patch-1
Browse files Browse the repository at this point in the history
Rename port to match Istio naming conventions
  • Loading branch information
canterberry authored Feb 14, 2021
2 parents 3871587 + cbb5274 commit 89760bc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion templates/service.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ spec:
ports:
- port: {{ .Values.service.port }}
protocol: TCP
name: {{ .Values.service.name }}
name: {{ if .Values.tlsSecretName }}https{{ else }}http{{ end }}-{{ .Values.service.port }}
targetPort: 5000
{{- if (and (eq .Values.service.type "NodePort") (not (empty .Values.service.nodePort))) }}
nodePort: {{ .Values.service.nodePort }}
Expand Down

0 comments on commit 89760bc

Please sign in to comment.