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:
+1
-1
@@ -8,7 +8,7 @@ stages:
|
|||||||
|
|
||||||
variables:
|
variables:
|
||||||
CHART_NAME: "freeradius"
|
CHART_NAME: "freeradius"
|
||||||
CHART_VERSION: "1.0.4"
|
CHART_VERSION: "1.0.5"
|
||||||
PACKAGE_PATH: "packages"
|
PACKAGE_PATH: "packages"
|
||||||
HELM_EXPERIMENTAL_OCI: "1"
|
HELM_EXPERIMENTAL_OCI: "1"
|
||||||
|
|
||||||
|
|||||||
+1
-1
@@ -31,4 +31,4 @@ sources:
|
|||||||
- https://freeradius.org/
|
- https://freeradius.org/
|
||||||
- https://github.com/FreeRADIUS/freeradius-server
|
- https://github.com/FreeRADIUS/freeradius-server
|
||||||
type: application
|
type: application
|
||||||
version: 1.0.4
|
version: 1.0.5
|
||||||
|
|||||||
File diff suppressed because it is too large
Load Diff
@@ -16,6 +16,8 @@ metadata:
|
|||||||
annotations: {{- include "st-common.tplvalues.render" (dict "value" .Values.commonAnnotations "context" $) | nindent 4 }}
|
annotations: {{- include "st-common.tplvalues.render" (dict "value" .Values.commonAnnotations "context" $) | nindent 4 }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
data:
|
data:
|
||||||
|
{{ (.Files.Glob "files/mods-available/eap").AsConfig | indent 2 }}
|
||||||
{{- if .Values.modsEnabled.sql.enabled }}
|
{{- if .Values.modsEnabled.sql.enabled }}
|
||||||
{{ (.Files.Glob "files/mods-available/sql").AsConfig | indent 2 }}
|
{{ (.Files.Glob "files/mods-available/sql").AsConfig | indent 2 }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
|
||||||
|
|||||||
@@ -274,6 +274,9 @@ spec:
|
|||||||
mountPath: /etc/freeradius/mods-enabled/sql
|
mountPath: /etc/freeradius/mods-enabled/sql
|
||||||
subPath: sql
|
subPath: sql
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
- name: freeradius-mods
|
||||||
|
mountPath: /etc/freeradius/mods-enabled/eap
|
||||||
|
subPath: eap
|
||||||
- name: freeradius-sites
|
- name: freeradius-sites
|
||||||
mountPath: /etc/freeradius/sites-enabled/default
|
mountPath: /etc/freeradius/sites-enabled/default
|
||||||
subPath: default
|
subPath: default
|
||||||
|
|||||||
Reference in New Issue
Block a user