apiVersion: v1 kind: Service metadata: name: {{ include "svcforge.fullname" . }}-api labels: {{- include "svcforge.labels" . | nindent 4 }} app.kubernetes.io/component: api spec: type: {{ .Values.api.service.type }} ports: - name: http port: {{ .Values.api.service.port }} targetPort: http protocol: TCP selector: {{- include "svcforge.selectorLabels" (dict "ctx" $ "component" "api") | nindent 4 }}