goircd/charts/goircd/templates/service.yaml
Mathias Kaufmann 95f4035392 Added helm chart
Signed-off-by: Mathias Kaufmann <me@stei.gr>
2018-03-14 01:09:17 +01:00

20 lines
485 B
YAML

apiVersion: v1
kind: Service
metadata:
name: {{ template "goircd.fullname" . }}
labels:
app: {{ template "goircd.name" . }}
chart: {{ template "goircd.chart" . }}
release: {{ .Release.Name }}
heritage: {{ .Release.Service }}
spec:
type: {{ .Values.service.type }}
ports:
- port: {{ .Values.service.externalPort }}
targetPort: irc
protocol: TCP
name: irc
selector:
app: {{ template "goircd.name" . }}
release: {{ .Release.Name }}