David Bainbridge | 7fa6cb4 | 2020-06-12 16:52:38 -0700 | [diff] [blame] | 1 | --- |
| 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 | --- |
| 16 | apiVersion: v1 |
| 17 | kind: Service |
| 18 | metadata: |
| 19 | name: "{{ template "fullname" . }}" |
| 20 | namespace: "{{ .Release.Namespace }}" |
| 21 | spec: |
| 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 }}" |