charts/teslamate/templates/service.yaml
Jeff Billimek b332249e9d
Introduces the teslamate chart (#106)
* Introduces the teslamate chart

Fixes #101

Signed-off-by: Jeff Billimek <jeff@billimek.com>

* get on the startupprobe bandwagon
2019-12-22 00:19:10 -05:00

20 lines
591 B
YAML

apiVersion: v1
kind: Service
metadata:
name: {{ include "teslamate.fullname" . }}
labels:
app.kubernetes.io/name: {{ include "teslamate.name" . }}
helm.sh/chart: {{ include "teslamate.chart" . }}
app.kubernetes.io/instance: {{ .Release.Name }}
app.kubernetes.io/managed-by: {{ .Release.Service }}
spec:
type: {{ .Values.service.type }}
ports:
- port: {{ .Values.service.port }}
targetPort: http
protocol: TCP
name: http
selector:
app.kubernetes.io/name: {{ include "teslamate.name" . }}
app.kubernetes.io/instance: {{ .Release.Name }}