Jeremy Ronquillo | 223db00 | 2020-06-05 10:28:22 -0700 | [diff] [blame] | 1 | {{/* |
Jeremy Ronquillo | ec2d3e4 | 2020-06-05 11:33:39 -0700 | [diff] [blame^] | 2 | # Copyright 2019-present Open Networking Foundation |
Jeremy Ronquillo | 223db00 | 2020-06-05 10:28:22 -0700 | [diff] [blame] | 3 | |
Jeremy Ronquillo | ec2d3e4 | 2020-06-05 11:33:39 -0700 | [diff] [blame^] | 4 | # SPDX-License-Identifier: Apache-2.0 |
| 5 | # SPDX-License-Identifier: LicenseRef-ONF-Member-Only |
Jeremy Ronquillo | 223db00 | 2020-06-05 10:28:22 -0700 | [diff] [blame] | 6 | */}} |
| 7 | |
| 8 | --- |
| 9 | apiVersion: v1 |
| 10 | kind: Service |
| 11 | metadata: |
| 12 | name: accelleran-cu |
| 13 | labels: |
| 14 | {{ tuple "accelleran-cu" . | include "accelleran-cu.metadata_labels" | indent 4 }} |
| 15 | spec: |
| 16 | selector: |
| 17 | {{ tuple "accelleran-cu" . | include "accelleran-cu.metadata_labels" | indent 4 }} |
| 18 | ports: |
| 19 | - name: s1ap |
| 20 | port: {{ .Values.config.vran.ports.s1ap.port }} |
| 21 | protocol: SCTP |
| 22 | - name: nats |
| 23 | port: {{ .Values.config.vran.ports.nats.port }} |
| 24 | protocol: TCP |
| 25 | - name: redis |
| 26 | port: {{ .Values.config.vran.ports.redis.port }} |
| 27 | protocol: TCP |
| 28 | |
| 29 | --- |
| 30 | apiVersion: v1 |
| 31 | kind: Service |
| 32 | metadata: |
| 33 | name: acceleran-cu-external |
| 34 | labels: |
| 35 | {{ tuple "accelleran-cu" . | include "accelleran-cu.metadata_labels" | indent 4 }} |
| 36 | spec: |
| 37 | selector: |
| 38 | {{ tuple "accelleran-cu" . | include "accelleran-cu.metadata_labels" | indent 4 }} |
| 39 | type: NodePort |
| 40 | ports: |
| 41 | - name: nats |
| 42 | port: {{ .Values.config.vran.ports.nats.port }} |
| 43 | protocol: TCP |
| 44 | nodePort: {{ .Values.config.vran.ports.nats.nodePort }} |
| 45 | - name: redis |
| 46 | port: {{ .Values.config.vran.ports.redis.port }} |
| 47 | protocol: TCP |
| 48 | nodePort: {{ .Values.config.vran.ports.redis.nodePort }} |