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.httpd.type }} ports: - port: {{ .Values.httpd.port }} targetPort: http protocol: TCP name: http selector: app: {{ template "httpd.name" . }} release: {{ .Release.Name }}