blob: 92229d858b2c2dfdb0d7c8d6bda49ffe500c8112 [file] [log] [blame]
Gopinath Tagete2dff4d2018-03-15 17:22:28 -07001# 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 Jeanneret7aeb86e2018-11-10 14:12:50 -050015{{- if .Values.freeradius.enabled }}
Gopinath Tagete2dff4d2018-03-15 17:22:28 -070016apiVersion: v1
17data:
18 clients.conf: |
Andy Bavierab3ea632018-08-03 15:16:48 -070019 client 0.0.0.0/0 {
Gopinath Tagete2dff4d2018-03-15 17:22:28 -070020 secret = SECRET
21 }
22 users: |
23 user Cleartext-Password := "password", MS-CHAP-Use-NTLM-Auth := 0
24
25kind: ConfigMap
26metadata:
27 name: freeradius-config
28 namespace: {{ .Values.global.namespace }}
29 serviceAccountName: {{ .Values.global.namespace }}-serviceaccount
Matt Jeanneret7aeb86e2018-11-10 14:12:50 -050030{{- end}}