This patch introduces a new structure of the it/dep repo.
[it/dep.git] / infra / 10-Nexus / helm / templates / service.yaml
1 apiVersion: v1
2 kind: Service
3 metadata:
4   name: {{ include "nexus.fullname" . }}
5   labels:
6     app: {{ template "nexus.name" . }}
7     chart: {{ template "nexus.chart" . }}
8     release: {{ .Release.Name }}
9     heritage: {{ .Release.Service }}
10 spec:
11   type: ClusterIP
12   ports:
13     - port: {{ .Values.service.port.nexus }}
14       targetPort: nexus
15       protocol: TCP
16       name: nexus
17     - port: {{ .Values.service.port.docker }}
18       targetPort: docker
19       protocol: TCP
20       name: docker
21   selector:
22     app: {{ template "nexus.name" . }}
23     release: {{ .Release.Name }}