1
0
molgenis-ops-docker-helm/httpd/v0.1.0/templates/service.yaml

20 lines
475 B
YAML
Raw Normal View History

apiVersion: v1
kind: Service
metadata:
2018-05-29 10:10:05 +02:00
name: {{ template "httpd.fullname" . }}
labels:
2018-05-29 10:10:05 +02:00
app: {{ template "httpd.name" . }}
chart: {{ template "httpd.chart" . }}
release: {{ .Release.Name }}
heritage: {{ .Release.Service }}
spec:
2018-06-23 15:27:03 +02:00
type: {{ .Values.service.type }}
ports:
2018-06-23 15:27:03 +02:00
- port: {{ .Values.service.port }}
targetPort: http
protocol: TCP
name: http
selector:
2018-05-29 10:10:05 +02:00
app: {{ template "httpd.name" . }}
release: {{ .Release.Name }}