Hyunsun Moon | ed24cac | 2019-08-26 20:52:20 -0500 | [diff] [blame] | 1 | {{/* |
| 2 | Copyright 2019-present Open Networking Foundation |
| 3 | |
| 4 | Licensed under the Apache License, Version 2.0 (the "License"); |
| 5 | you may not use this file except in compliance with the License. |
| 6 | You may obtain a copy of the License at |
| 7 | |
| 8 | http://www.apache.org/licenses/LICENSE-2.0 |
| 9 | |
| 10 | Unless required by applicable law or agreed to in writing, software |
| 11 | distributed under the License is distributed on an "AS IS" BASIS, |
| 12 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 13 | See the License for the specific language governing permissions and |
| 14 | limitations under the License. |
| 15 | */}} |
| 16 | |
| 17 | --- |
| 18 | # Additional service for identity |
| 19 | apiVersion: v1 |
| 20 | kind: Service |
| 21 | metadata: |
| 22 | name: hss |
| 23 | labels: |
| 24 | {{ tuple "hss" . | include "omec-control-plane.metadata_labels" | indent 4 }} |
| 25 | spec: |
| 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 | --- |
| 33 | apiVersion: v1 |
| 34 | kind: Service |
| 35 | metadata: |
| 36 | name: hss-s6a |
| 37 | labels: |
| 38 | {{ tuple "hss" . | include "omec-control-plane.metadata_labels" | indent 4 }} |
| 39 | spec: |
| 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 }} |