20 lines
475 B
YAML
20 lines
475 B
YAML
apiVersion: v1
|
|
kind: Service
|
|
metadata:
|
|
name: {{ template "httpd.fullname" . }}
|
|
labels:
|
|
app: {{ template "httpd.name" . }}
|
|
chart: {{ template "httpd.chart" . }}
|
|
release: {{ .Release.Name }}
|
|
heritage: {{ .Release.Service }}
|
|
spec:
|
|
type: {{ .Values.service.type }}
|
|
ports:
|
|
- port: {{ .Values.service.port }}
|
|
targetPort: http
|
|
protocol: TCP
|
|
name: http
|
|
selector:
|
|
app: {{ template "httpd.name" . }}
|
|
release: {{ .Release.Name }}
|