blob: 849e7133deb45883f8a7c441d270bc81f1b42657 [file] [log] [blame]
Hyunsun Mooned24cac2019-08-26 20:52:20 -05001{{/*
2Copyright 2019-present Open Networking Foundation
3
4Licensed 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
17---
18# Additional service for identity
19apiVersion: v1
20kind: Service
21metadata:
22 name: hss
23 labels:
24{{ tuple "hss" . | include "omec-control-plane.metadata_labels" | indent 4 }}
25spec:
26 selector:
27{{ tuple "hss" . | include "omec-control-plane.metadata_labels" | indent 4 }}
28 ports:
29 - name: s6a
30 port: 3868
31 protocol: TCP
32---
33apiVersion: v1
34kind: Service
35metadata:
36 name: hss-s6a
37 labels:
38{{ tuple "hss" . | include "omec-control-plane.metadata_labels" | indent 4 }}
39spec:
40 selector:
41{{ tuple "hss" . | include "omec-control-plane.metadata_labels" | indent 4 }}
42{{- if .Values.config.hss.s6a.nodePort.enabled }}
43 type: NodePort
44{{- end }}
45 ports:
46 - name: s6a
47 port: 3868
48 protocol: TCP
49 {{- if .Values.config.hss.s6a.nodePort.enabled }}
50 nodePort: {{ .Values.config.hss.s6a.nodePort.port }}
51 {{- end }}