apiVersion: v1 kind: Service metadata: name: {{ .Release.Name }} labels: {{- include "basic-app.labels" . | nindent 4 }} spec: type: {{ .Values.service.type }} ports: - port: {{ .Values.service.port }} targetPort: 80 protocol: TCP name: http selector: {{- include "basic-app.selectorLabels" . | nindent 4 }}