Gopinath Taget | e2dff4d | 2018-03-15 17:22:28 -0700 | [diff] [blame] | 1 | # Copyright 2017-present Open Networking Foundation |
| 2 | # |
| 3 | # Licensed under the Apache License, Version 2.0 (the "License"); |
| 4 | # you may not use this file except in compliance with the License. |
| 5 | # You may obtain a copy of the License at |
| 6 | # |
| 7 | # http://www.apache.org/licenses/LICENSE-2.0 |
| 8 | # |
| 9 | # Unless required by applicable law or agreed to in writing, software |
| 10 | # distributed under the License is distributed on an "AS IS" BASIS, |
| 11 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 12 | # See the License for the specific language governing permissions and |
| 13 | # limitations under the License. |
| 14 | |
Matt Jeanneret | 7aeb86e | 2018-11-10 14:12:50 -0500 | [diff] [blame] | 15 | {{- if .Values.freeradius.enabled }} |
Gopinath Taget | e2dff4d | 2018-03-15 17:22:28 -0700 | [diff] [blame] | 16 | apiVersion: v1 |
| 17 | data: |
| 18 | clients.conf: | |
Andy Bavier | ab3ea63 | 2018-08-03 15:16:48 -0700 | [diff] [blame] | 19 | client 0.0.0.0/0 { |
Gopinath Taget | e2dff4d | 2018-03-15 17:22:28 -0700 | [diff] [blame] | 20 | secret = SECRET |
| 21 | } |
| 22 | users: | |
| 23 | user Cleartext-Password := "password", MS-CHAP-Use-NTLM-Auth := 0 |
| 24 | |
| 25 | kind: ConfigMap |
| 26 | metadata: |
| 27 | name: freeradius-config |
| 28 | namespace: {{ .Values.global.namespace }} |
| 29 | serviceAccountName: {{ .Values.global.namespace }}-serviceaccount |
Matt Jeanneret | 7aeb86e | 2018-11-10 14:12:50 -0500 | [diff] [blame] | 30 | {{- end}} |