apiVersion: v1 kind: Service metadata: name: {{ include "api-gateway.name" . }} namespace: {{ .Values.namespace }} labels: {{- include "api-gateway.labels" . | nindent 4 }} spec: type: {{ .Values.service.type }} selector: {{- include "api-gateway.selectorLabels" . | nindent 4 }} ports: - name: http port: {{ .Values.service.port }} targetPort: http protocol: TCP