blob: 486cbf8af48890ba614ef8090e5d50aa02cddcfe [file] [log] [blame]
David Bainbridge7fa6cb42020-06-12 16:52:38 -07001---
2# Copyright 2017-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---
16apiVersion: v1
17kind: Service
18metadata:
19 name: "{{ template "fullname" . }}"
20 namespace: "{{ .Release.Namespace }}"
21spec:
22 ports:
23 - name: radius-auth
24 protocol: UDP
25 port: 1812
26 targetPort: 1812
27 - name: radius-acc
28 protocol: UDP
29 port: 1813
30 targetPort: 1813
31 - name: radius
32 port: 18120
33 targetPort: 18120
34 selector:
35 app: radius
36 release: "{{ .Release.Name }}"