yuryn | fcef994 | 2017-10-26 17:10:50 +0300 | [diff] [blame] | 1 | #{{ if not .Values.disableVnfsdkPostgres }} |
Dusan Rozman | 75c07c4 | 2017-09-25 10:28:28 -0400 | [diff] [blame] | 2 | apiVersion: v1 |
| 3 | kind: Service |
| 4 | metadata: |
| 5 | name: postgres |
BorislavG | 8bfc6cf | 2018-02-27 15:04:26 +0000 | [diff] [blame] | 6 | namespace: {{ .Values.nsPrefix }} |
Dusan Rozman | 75c07c4 | 2017-09-25 10:28:28 -0400 | [diff] [blame] | 7 | labels: |
| 8 | app: postgres |
| 9 | spec: |
| 10 | ports: |
| 11 | - name: postgres-port |
| 12 | port: 5432 |
| 13 | selector: |
| 14 | app: postgres |
| 15 | clusterIP: None |
yuryn | fcef994 | 2017-10-26 17:10:50 +0300 | [diff] [blame] | 16 | #{{ end }} |
| 17 | #{{ if not .Values.disableVnfsdkRefrepo }} |
Dusan Rozman | 75c07c4 | 2017-09-25 10:28:28 -0400 | [diff] [blame] | 18 | --- |
| 19 | apiVersion: v1 |
| 20 | kind: Service |
| 21 | metadata: |
| 22 | labels: |
| 23 | app: refrepo |
| 24 | name: refrepo |
BorislavG | 8bfc6cf | 2018-02-27 15:04:26 +0000 | [diff] [blame] | 25 | namespace: {{ .Values.nsPrefix }} |
Dusan Rozman | 75c07c4 | 2017-09-25 10:28:28 -0400 | [diff] [blame] | 26 | spec: |
| 27 | ports: |
| 28 | - name: "refrepo-port" |
| 29 | port: 8702 |
| 30 | nodePort: {{ .Values.nodePortPrefix }}97 |
| 31 | selector: |
| 32 | app: refrepo |
| 33 | type: NodePort |
yuryn | fcef994 | 2017-10-26 17:10:50 +0300 | [diff] [blame] | 34 | #{{ end }} |