Skip to content

Commit

Permalink
[generic] Adding Service Port Name Support + genericd 1.4.1
Browse files Browse the repository at this point in the history
  • Loading branch information
dbpolito committed Aug 31, 2021
1 parent c751107 commit 7521b0e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion charts/generic/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
apiVersion: v2
name: generic
description: Generic Chart
version: 1.4.0
version: 1.4.1
3 changes: 3 additions & 0 deletions charts/generic/templates/services.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,9 @@ spec:
{{- range $port := $service.ports }}
- port: {{ $port.port }}
targetPort: {{ $port.targetPort | default $port.port }}
{{- if $port.name }}
name: {{ $port.name }}
{{- end }}
{{- end }}
selector: {{ $selectorLabels | nindent 4 }}
---
Expand Down

0 comments on commit 7521b0e

Please sign in to comment.