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