Jeremy Ronquillo | 11851d3 | 2020-06-08 15:13:08 -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 | 11851d3 | 2020-06-08 15:13:08 -0700 | [diff] [blame] | 3 | |
Jeremy Ronquillo | 6046ce3 | 2020-06-18 11:06:29 -0700 | [diff] [blame] | 4 | # SPDX-License-Identifier: LicenseRef-ONF-Member-Only-1.0 |
Jeremy Ronquillo | 11851d3 | 2020-06-08 15:13:08 -0700 | [diff] [blame] | 5 | */}} |
| 6 | |
| 7 | --- |
| 8 | apiVersion: v1 |
| 9 | kind: Service |
| 10 | metadata: |
| 11 | name: ant-media |
| 12 | labels: |
| 13 | {{ tuple "ant-media" . | include "cdn-remote.metadata_labels" | indent 4 }} |
| 14 | spec: |
| 15 | selector: |
| 16 | {{ tuple "ant-media" . | include "cdn-remote.metadata_labels" | indent 4 }} |
| 17 | ports: |
| 18 | - name: httpui |
| 19 | port: {{ .Values.config.antMedia.ports.httpui }} |
| 20 | protocol: TCP |
| 21 | - name: rtmp |
| 22 | port: {{ .Values.config.antMedia.ports.rtmp }} |
| 23 | protocol: TCP |
| 24 | |
| 25 | --- |
| 26 | apiVersion: v1 |
| 27 | kind: Service |
| 28 | metadata: |
| 29 | name: ant-media-external |
| 30 | labels: |
| 31 | {{ tuple "ant-media" . | include "cdn-remote.metadata_labels" | indent 4 }} |
| 32 | spec: |
| 33 | selector: |
| 34 | {{ tuple "ant-media" . | include "cdn-remote.metadata_labels" | indent 4 }} |
| 35 | type: NodePort |
| 36 | ports: |
| 37 | - name: httpui |
| 38 | port: {{ .Values.config.antMedia.ports.httpui }} |
| 39 | protocol: TCP |
| 40 | nodePort: {{ .Values.config.antMedia.ports.nodePorts.httpui }} |
| 41 | - name: rtmp |
| 42 | port: {{ .Values.config.antMedia.ports.rtmp }} |
| 43 | protocol: TCP |
| 44 | nodePort: {{ .Values.config.antMedia.ports.nodePorts.rtmp }} |