Files
freeradius-helm-chart/templates/ConfigMap/mods-enabled.yaml
T
gitea_admin 3ccf50ed57 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
2025-06-30 12:35:39 +02:00

24 lines
884 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 }}
{{- if .Values.modsEnabled.sql.enabled }}
{{ (.Files.Glob "files/mods-available/sql").AsConfig | indent 2 }}
{{- end }}