Skip to content

Commit 70450b3

Browse files
authored
ExternalName service type supported now (#212)
* ExternalName service type supported now
1 parent 227599a commit 70450b3

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

incubator/monochart/Chart.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
apiVersion: v1
22
description: A declarative helm chart for deploying common types of services on Kubernetes
33
name: monochart
4-
version: 0.13.0
5-
appVersion: 0.13.0
4+
version: 0.14.0
5+
appVersion: 0.14.0
66
home: https://github.com/cloudposse/charts/tree/master/incubator/monochart
77
icon: https://raw.githubusercontent.com/cloudposse/charts/master/incubator/monochart/logo.png
88
maintainers:

incubator/monochart/templates/service.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,9 @@ metadata:
1414
{{- end }}
1515
spec:
1616
type: {{ .Values.service.type }}
17+
{{- if eq .Values.service.type "ExternalName" }}
18+
externalName: {{ .Values.service.externalName }}
19+
{{- else }}
1720
ports:
1821
{{- range $name, $port := .Values.service.ports }}
1922
- port: {{ $port.external }}
@@ -26,3 +29,4 @@ spec:
2629
release: {{ .Release.Name }}
2730
serve: "true"
2831
{{- end -}}
32+
{{- end -}}

0 commit comments

Comments
 (0)