blob: 759e26daceb7763eff19fc42617882e8ad5a6d56 [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
BorislavG8bfc6cf2018-02-27 15:04:26 +00006 namespace: {{ .Values.nsPrefix }}
Dusan Rozman75c07c42017-09-25 10:28:28 -04007 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
BorislavG8bfc6cf2018-02-27 15:04:26 +000025 namespace: {{ .Values.nsPrefix }}
Dusan Rozman75c07c42017-09-25 10:28:28 -040026spec:
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 }}