- Activated `dynamic_clients` module to allow loading RADIUS clients dynamically from the database - Configured SQL query to fetch client secret, shortname, and type based on Packet-Src-IP-Address - Integrated `dynamic_clients` into the `authorize` section for real-time NAS resolution - Eliminated need to restart FreeRADIUS when adding new NAS entries
25 lines
963 B
YAML
25 lines
963 B
YAML
{{- /*
|
|
Copyright (c) 2025 Firmansyah Nainggolan. All Rights Reserved.
|
|
SPDX-License-Identifier: APACHE-2.0
|
|
*/}}
|
|
|
|
apiVersion: v1
|
|
kind: ConfigMap
|
|
metadata:
|
|
name: {{ printf "%s-mods" (include "st-common.names.fullname" .) }}
|
|
namespace: {{ include "st-common.names.namespace" . | quote }}
|
|
labels: {{- include "st-common.labels.standard" . | nindent 4 }}
|
|
{{- if .Values.commonLabels }}
|
|
{{- include "st-common.tplvalues.render" (dict "value" .Values.commonLabels "context" $) | nindent 4 }}
|
|
{{- end }}
|
|
{{- if .Values.commonAnnotations }}
|
|
annotations: {{- include "st-common.tplvalues.render" (dict "value" .Values.commonAnnotations "context" $) | nindent 4 }}
|
|
{{- end }}
|
|
data:
|
|
{{ (.Files.Glob "files/mods-available/eap").AsConfig | indent 2 }}
|
|
{{ (.Files.Glob "files/mods-available/dynamic_clients").AsConfig | indent 2 }}
|
|
{{- if .Values.modsEnabled.sql.enabled }}
|
|
{{ (.Files.Glob "files/mods-available/sql").AsConfig | indent 2 }}
|
|
{{- end }}
|
|
|