feat: add EAP module support with dynamic CA file path and config injection
- Added `files/mods-available/eap` with environment-based `ca_file` reference - Updated `mods-enabled.yaml` to include EAP module via Helm `.Files.Glob` - Modified `Deployment.yaml` to mount EAP config into /mods-enabled/eap
This commit is contained in:
@@ -16,6 +16,8 @@ metadata:
|
||||
annotations: {{- include "st-common.tplvalues.render" (dict "value" .Values.commonAnnotations "context" $) | nindent 4 }}
|
||||
{{- end }}
|
||||
data:
|
||||
{{ (.Files.Glob "files/mods-available/eap").AsConfig | indent 2 }}
|
||||
{{- if .Values.modsEnabled.sql.enabled }}
|
||||
{{ (.Files.Glob "files/mods-available/sql").AsConfig | indent 2 }}
|
||||
{{- end }}
|
||||
|
||||
|
||||
@@ -274,6 +274,9 @@ spec:
|
||||
mountPath: /etc/freeradius/mods-enabled/sql
|
||||
subPath: sql
|
||||
{{- end }}
|
||||
- name: freeradius-mods
|
||||
mountPath: /etc/freeradius/mods-enabled/eap
|
||||
subPath: eap
|
||||
- name: freeradius-sites
|
||||
mountPath: /etc/freeradius/sites-enabled/default
|
||||
subPath: default
|
||||
|
||||
Reference in New Issue
Block a user