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