Dusan Rozman | 75c07c4 | 2017-09-25 10:28:28 -0400 | [diff] [blame^] | 1 | apiVersion: v1 |
2 | kind: Service | ||||
3 | metadata: | ||||
4 | name: postgres | ||||
5 | namespace: {{ .Values.nsPrefix }}-vnfsdk | ||||
6 | labels: | ||||
7 | app: postgres | ||||
8 | spec: | ||||
9 | ports: | ||||
10 | - name: postgres-port | ||||
11 | port: 5432 | ||||
12 | selector: | ||||
13 | app: postgres | ||||
14 | clusterIP: None | ||||
15 | --- | ||||
16 | apiVersion: v1 | ||||
17 | kind: Service | ||||
18 | metadata: | ||||
19 | labels: | ||||
20 | app: refrepo | ||||
21 | name: refrepo | ||||
22 | namespace: {{ .Values.nsPrefix }}-vnfsdk | ||||
23 | spec: | ||||
24 | ports: | ||||
25 | - name: "refrepo-port" | ||||
26 | port: 8702 | ||||
27 | nodePort: {{ .Values.nodePortPrefix }}97 | ||||
28 | selector: | ||||
29 | app: refrepo | ||||
30 | type: NodePort |