blob: c78dab819345fb9b9b4910409e0db5dcdb02b84f [file] [log] [blame]
yurynfcef9942017-10-26 17:10:50 +03001#{{ if not .Values.disableVnfsdkPostgres }}
Dusan Rozman75c07c42017-09-25 10:28:28 -04002apiVersion: v1
3kind: Service
4metadata:
5 name: postgres
6 namespace: {{ .Values.nsPrefix }}-vnfsdk
7 labels:
8 app: postgres
9spec:
10 ports:
11 - name: postgres-port
12 port: 5432
13 selector:
14 app: postgres
15 clusterIP: None
yurynfcef9942017-10-26 17:10:50 +030016#{{ end }}
17#{{ if not .Values.disableVnfsdkRefrepo }}
Dusan Rozman75c07c42017-09-25 10:28:28 -040018---
19apiVersion: v1
20kind: Service
21metadata:
22 labels:
23 app: refrepo
24 name: refrepo
25 namespace: {{ .Values.nsPrefix }}-vnfsdk
26spec:
27 ports:
28 - name: "refrepo-port"
29 port: 8702
30 nodePort: {{ .Values.nodePortPrefix }}97
31 selector:
32 app: refrepo
33 type: NodePort
yurynfcef9942017-10-26 17:10:50 +030034#{{ end }}