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 |
Randy Levensalor | fcdad84 | 2022-09-04 08:29:49 -0600 | [diff] [blame^] | 31 | {{ if .Values.svc.twoSvcs }} |
| 32 | selector: |
| 33 | app: radius |
| 34 | release: "{{ .Release.Name }}" |
| 35 | type: {{ .Values.svc.type }} |
| 36 | --- |
| 37 | apiVersion: v1 |
| 38 | kind: Service |
| 39 | metadata: |
| 40 | name: "{{ template "fullname" . }}-inner-tunnel" |
| 41 | namespace: "{{ .Release.Namespace }}" |
| 42 | spec: |
| 43 | ports: |
| 44 | {{ end }} |
David Bainbridge | 7fa6cb4 | 2020-06-12 16:52:38 -0700 | [diff] [blame] | 45 | - name: radius |
| 46 | port: 18120 |
| 47 | targetPort: 18120 |
| 48 | selector: |
| 49 | app: radius |
| 50 | release: "{{ .Release.Name }}" |
Randy Levensalor | fcdad84 | 2022-09-04 08:29:49 -0600 | [diff] [blame^] | 51 | type: {{ .Values.svc.type }} |