| 1 | apiVersion: v1 |
| 2 | kind: Service |
| 3 | metadata: |
| 4 | name: {{ include "chart.service-name" . | quote }} |
| 5 | namespace: {{ .Release.Namespace }} |
| 6 | spec: |
| 7 | type: ClusterIP |
| 8 | ports: |
| 9 | - name: {{ include "chart.service-port-name" . }} |
| 10 | port: {{ include "chart.service-port" . }} |
| 11 | targetPort: {{ include "chart.container-port-name" . }} |
| 12 | protocol: TCP |
| 13 | selector: |
| 14 | {{- include "chart.labels" . | nindent 4 }} |