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 | |
Jeremy Ronquillo | 223db00 | 2020-06-05 10:28:22 -0700 | [diff] [blame] | 3 | # Copyright 2019-present Open Networking Foundation |
| 4 | # |
Jeremy Ronquillo | 6046ce3 | 2020-06-18 11:06:29 -0700 | [diff] [blame] | 5 | # SPDX-License-Identifier: LicenseRef-ONF-Member-Only-1.0 |
Jeremy Ronquillo | ec2d3e4 | 2020-06-05 11:33:39 -0700 | [diff] [blame] | 6 | |
Jeremy Ronquillo | 223db00 | 2020-06-05 10:28:22 -0700 | [diff] [blame] | 7 | */ -}} |
| 8 | |
| 9 | --- |
| 10 | apiVersion: v1 |
| 11 | kind: Service |
| 12 | metadata: |
| 13 | name: accelleran-cbrs-cu-{{ .Values.config.vranL3.instanceId }} |
| 14 | labels: |
| 15 | {{ tuple "accelleran-cbrs-cu" . | include "accelleran-cbrs-cu.metadata_labels" | indent 4 }} |
| 16 | spec: |
| 17 | selector: |
| 18 | {{ tuple "accelleran-cbrs-cu" . | include "accelleran-cbrs-cu.metadata_labels" | indent 4 }} |
| 19 | ports: |
| 20 | - name: s1ap-port |
| 21 | port: {{ .Values.config.vranL3.ports.s1ap.port }} |
| 22 | protocol: {{ .Values.config.vranL3.ports.s1ap.protocol }} |
| 23 | |
| 24 | --- |
| 25 | apiVersion: v1 |
| 26 | kind: Service |
| 27 | metadata: |
| 28 | name: accelleran-cbrs-cu-{{ .Values.config.vranL3.instanceId }}-exernal |
| 29 | labels: |
| 30 | {{ tuple "accelleran-cbrs-cu" . | include "accelleran-cbrs-cu.metadata_labels" | indent 4 }} |
| 31 | spec: |
| 32 | selector: |
| 33 | {{ tuple "accelleran-cbrs-cu" . | include "accelleran-cbrs-cu.metadata_labels" | indent 4 }} |
| 34 | type: NodePort |
| 35 | ports: |
| 36 | - name: s1ap-port |
| 37 | port: {{ .Values.config.vranL3.ports.s1ap.port }} |
| 38 | nodePort: {{ .Values.config.vranL3.ports.s1ap.nodePort }} |
Jeremy Ronquillo | 6046ce3 | 2020-06-18 11:06:29 -0700 | [diff] [blame] | 39 | protocol: {{ .Values.config.vranL3.ports.s1ap.protocol }} |