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