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