Skip to content

Commit

Permalink
Merge pull request #8 from fbrissi/feature/external_name
Browse files Browse the repository at this point in the history
Add options to externalName
  • Loading branch information
dbpolito authored Nov 30, 2020
2 parents 5259f27 + 959164d commit b15dbce
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.2.2
version: 1.2.3
3 changes: 3 additions & 0 deletions charts/generic/templates/services.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,9 @@ metadata:
{{- end }}
spec:
type: {{ $service.type }}
{{- if $service.externalName }}
externalName: {{ $service.externalName }}
{{- end }}
ports:
- port: {{ $service.port }}
targetPort: {{ $service.targetPort | default $service.port }}
Expand Down

0 comments on commit b15dbce

Please sign in to comment.