feat(freeradius): enable sqlippool for centralized IP allocation
- Add sqlippool module configuration - Integrate sqlippool into authorize, post-auth, and accounting sections - Add radippool table schema (InnoDB) - Update Helm ConfigMap and Deployment templates - Enable centralized IP management for OpenVPN cluster - Bump Helm chart version to 1.0.12
This commit is contained in:
@@ -38,6 +38,7 @@ data:
|
||||
FREERADIUS_MODS_SQL_TABLE_GROUPREPLY: {{ .Values.modsEnabled.sql.table.groupreply }}
|
||||
FREERADIUS_MODS_SQL_TABLE_POSTAUTH: {{ .Values.modsEnabled.sql.table.postauth }}
|
||||
FREERADIUS_MODS_SQL_TABLE_USERGROUP: {{ .Values.modsEnabled.sql.table.usergroup }}
|
||||
FREERADIUS_MODS_SQL_TABLE_RADIPPOOL: {{ .Values.modsEnabled.sql.table.sqlippool }}
|
||||
FREERADIUS_MODS_SQL_TLS_ENABLE: {{ ternary "yes" "no" .Values.modsEnabled.sql.tls.enabled | quote }}
|
||||
|
||||
FREERADIUS_MODS_SQL_READ_CLIENTS: {{ ternary "yes" "no" .Values.modsEnabled.sql.readClients | quote }}
|
||||
|
||||
@@ -18,6 +18,7 @@ metadata:
|
||||
data:
|
||||
{{ (.Files.Glob "files/mods-available/eap").AsConfig | indent 2 }}
|
||||
{{ (.Files.Glob "files/mods-available/dynamic_clients").AsConfig | indent 2 }}
|
||||
{{ (.Files.Glob "files/mods-available/sqlippool").AsConfig | indent 2 }}
|
||||
{{- if .Values.modsEnabled.sql.enabled }}
|
||||
{{ (.Files.Glob "files/mods-available/sql").AsConfig | indent 2 }}
|
||||
{{- end }}
|
||||
|
||||
@@ -280,6 +280,9 @@ spec:
|
||||
- name: freeradius-mods
|
||||
mountPath: /etc/freeradius/mods-enabled/dynamic_clients
|
||||
subPath: dynamic_clients
|
||||
- name: freeradius-mods
|
||||
mountPath: /etc/freeradius/mods-enabled/sqlippool
|
||||
subPath: sqlippool
|
||||
- name: freeradius-mods-config
|
||||
mountPath: /etc/freeradius/mods-config/sql/main/mysql/queries.conf
|
||||
subPath: queries.conf
|
||||
|
||||
Reference in New Issue
Block a user