apiVersion: v1 kind: Service metadata: name: {{ include "chart.fullname" . }} spec: type: {{ .Values.service.type }} selector: {app: {{ include "chart.fullname" . }}} ports: [{port: {{ .Values.service.port }}, targetPort: 80}]