blob: 265e9e8a1de44ca6ce15563ceccf459ea78151e4 [file] [log] [blame]
Hyunsun Moon06f98552019-08-15 13:44:47 -06001{{/*
2Copyright 2019-present Open Networking Foundation
Hyunsun Moon636e17d2019-07-03 12:52:15 -05003
Hyunsun Moon06f98552019-08-15 13:44:47 -06004Licensed under the Apache License, Version 2.0 (the "License");
5you may not use this file except in compliance with the License.
6You may obtain a copy of the License at
7
8http://www.apache.org/licenses/LICENSE-2.0
9
10Unless required by applicable law or agreed to in writing, software
11distributed under the License is distributed on an "AS IS" BASIS,
12WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13See the License for the specific language governing permissions and
14limitations under the License.
15*/}}
16
Hyunsun Moon636e17d2019-07-03 12:52:15 -050017---
18apiVersion: v1
19kind: Service
20metadata:
Hyunsun Moon06f98552019-08-15 13:44:47 -060021 name: mme
22 labels:
Hyunsun Moon7a007bb2019-08-19 16:41:36 -060023{{ tuple "mme" . | include "omec-control-plane.metadata_labels" | indent 4 }}
Hyunsun Moon636e17d2019-07-03 12:52:15 -050024spec:
25 selector:
Hyunsun Moon7a007bb2019-08-19 16:41:36 -060026{{ tuple "mme" . | include "omec-control-plane.metadata_labels" | indent 4 }}
Hyunsun Moon636e17d2019-07-03 12:52:15 -050027 clusterIP: None
28 ports:
29 - name: s11
Hyunsun Moon06f98552019-08-15 13:44:47 -060030 port: {{ .Values.config.mme.s11.egtp_default_port }}
Hyunsun Moon636e17d2019-07-03 12:52:15 -050031 protocol: UDP
Hyunsun Moon636e17d2019-07-03 12:52:15 -050032 - name: s6a
33 port: 3868
34 protocol: TCP
35---
36apiVersion: v1
37kind: Service
38metadata:
Hyunsun Moon06f98552019-08-15 13:44:47 -060039 name: mme-sctp
40 labels:
Hyunsun Moon7a007bb2019-08-19 16:41:36 -060041{{ tuple "mme" . | include "omec-control-plane.metadata_labels" | indent 4 }}
Hyunsun Moon636e17d2019-07-03 12:52:15 -050042spec:
43 selector:
Hyunsun Moon7a007bb2019-08-19 16:41:36 -060044{{ tuple "mme" . | include "omec-control-plane.metadata_labels" | indent 4 }}
Hyunsun Moon636e17d2019-07-03 12:52:15 -050045 type: NodePort
46 ports:
47 - name: s1ap
Hyunsun Moon06f98552019-08-15 13:44:47 -060048 port: {{ .Values.config.mme.s1ap.sctp_port }}
49 nodePort: {{ .Values.config.mme.s1ap.sctp_port_external }}
Hyunsun Moon636e17d2019-07-03 12:52:15 -050050 protocol: SCTP