use_nonce = yes
        timeout = 0
        softfail = no
    }
   }
   # Linked to sub-module rlm_eap_ttls
   ttls {
        tls = "tls-common"
        default_eap_type = "md5"
        copy_request_to_tunnel = no
        use_tunneled_reply = no
        virtual_server = "inner-tunnel"
        include_length = yes
        require_client_cert = no
   }
tls: Using cached TLS configuration from previous invocation
   # Linked to sub-module rlm_eap_peap
   peap {
        tls = "tls-common"
        default_eap_type = "mschapv2"
        copy_request_to_tunnel = no
        use_tunneled_reply = no
        proxy_tunneled_request_as_eap = yes
        virtual_server = "inner-tunnel"
        soh = no
        require_client_cert = no
   }
tls: Using cached TLS configuration from previous invocation
   # Linked to sub-module rlm_eap_mschapv2
   mschapv2 {
        with_ntdomain_hack = no
        send_error = no
   }
  # Instantiating module "linelog" from file /etc/freeradius/mods-enabled/linelog
  # Instantiating module "auth_log" from file /etc/freeradius/mods-enabled/detail.log
rlm_detail (auth_log): 'User-Password' suppressed, will not appear in detail output
  # Instantiating module "reply_log" from file /etc/freeradius/mods-enabled/detail.log
  # Instantiating module "pre_proxy_log" from file /etc/freeradius/mods-enabled/detail.log
  # Instantiating module "post_proxy_log" from file /etc/freeradius/mods-enabled/detail.log
  # Instantiating module "mschap" from file /etc/freeradius/mods-enabled/mschap
rlm_mschap (mschap): using internal authentication
  # Instantiating module "totp" from file /etc/freeradius/mods-enabled/totp
  # Instantiating module "attr_filter.post-proxy" from file /etc/freeradius/mods-enabled/attr_filter
reading pairlist file /etc/freeradius/mods-config/attr_filter/post-proxy
  # Instantiating module "attr_filter.pre-proxy" from file /etc/freeradius/mods-enabled/attr_filter
reading pairlist file /etc/freeradius/mods-config/attr_filter/pre-proxy
  # Instantiating module "attr_filter.access_reject" from file /etc/freeradius/mods-enabled/attr_filter
reading pairlist file /etc/freeradius/mods-config/attr_filter/access_reject
  # Instantiating module "attr_filter.access_challenge" from file /etc/freeradius/mods-enabled/attr_filter
reading pairlist file /etc/freeradius/mods-config/attr_filter/access_challenge
  # Instantiating module "attr_filter.accounting_response" from file /etc/freeradius/mods-enabled/attr_filter
reading pairlist file /etc/freeradius/mods-config/attr_filter/accounting_response
  # Instantiating module "attr_filter.coa" from file /etc/freeradius/mods-enabled/attr_filter
reading pairlist file /etc/freeradius/mods-config/attr_filter/coa
  # Instantiating module "etc_passwd" from file /etc/freeradius/mods-enabled/passwd
rlm_passwd: nfields: 3 keyfield 0(User-Name) listable: no
  # Instantiating module "IPASS" from file /etc/freeradius/mods-enabled/realm
  # Instantiating module "suffix" from file /etc/freeradius/mods-enabled/realm
  # Instantiating module "bangpath" from file /etc/freeradius/mods-enabled/realm
  # Instantiating module "realmpercent" from file /etc/freeradius/mods-enabled/realm
  # Instantiating module "ntdomain" from file /etc/freeradius/mods-enabled/realm
  # Instantiating module "pap" from file /etc/freeradius/mods-enabled/pap
 } # modules
radiusd: #### Loading Virtual Servers ####
server { # from file /etc/freeradius/radiusd.conf
} # server
server inner-tunnel { # from file /etc/freeradius/sites-enabled/inner-tunnel
 # Loading authenticate {...}
Compiling Auth-Type PAP for attr Auth-Type
Compiling Auth-Type CHAP for attr Auth-Type
Compiling Auth-Type MS-CHAP for attr Auth-Type
 # Loading authorize {...}
/etc/freeradius/sites-enabled/inner-tunnel[56]: Failed to find "filter_username" as a module or policy.
/etc/freeradius/sites-enabled/inner-tunnel[56]: Please verify that the configuration exists in /etc/freeradius/mods-enabled/filter_username.
/etc/freeradius/sites-enabled/inner-tunnel[48]: Errors parsing authorize section.
root@kube-control-plane:/usr/lib/systemd/system/kubelet.service.d# ls
10-kubeadm.conf  radius.yml
root@kube-control-plane:/usr/lib/systemd/system/kubelet.service.d# kubectl get pods
NAME                                READY   STATUS    RESTARTS      AGE
radius-generator-796654698b-n4jch   1/1     Running   0             87s
radius-processor-6f5678fd7d-f5bs9   0/1     Error     3 (33s ago)   87s
root@kube-control-plane:/usr/lib/systemd/system/kubelet.service.d# ls
10-kubeadm.conf  radius.yml
root@kube-control-plane:/usr/lib/systemd/system/kubelet.service.d# cat radius.yml
apiVersion: v1
kind: ConfigMap
metadata:
  name: radius-config

data:
  default: |
    server default {
      listen {
        type = auth
        ipaddr = *
        port = 1812
        proto = udp
      }
      listen {
        type = acct
        ipaddr = *
        port = 1813
        proto = udp
      }
      authorize {
        filter_username
        filter_password
        preprocess
        files
        pap
      }
      authenticate {
        Auth-Type PAP {
          pap
        }
        Auth-Type CHAP {
          chap
        }
      }
      post-auth {
        update reply {
          Reply-Message = "Authentication successful"
        }
        exec
        linelog
      }
      accounting {
        detail
        unix
        exec
        attr_filter.accounting_response
      }
    }

  clients.conf: |
    client localhost {
      ipaddr = 127.0.0.1
      secret = testing123
    }
    client generator {
      ipaddr = 0.0.0.0/0
      secret = testing123
    }

  radiusd.conf: |
    prefix = /usr
    exec_prefix = /usr
    sysconfdir = /etc
    localstatedir = /var
    sbindir = ${exec_prefix}/sbin
    logdir = /var/log/freeradius
    raddbdir = /etc/freeradius
    radacctdir = ${logdir}/radacct
    name = freeradius
    confdir = ${raddbdir}
    modconfdir = ${confdir}/mods-config
    certdir = ${confdir}/certs
    cadir   = ${confdir}/certs
    run_dir = ${localstatedir}/run/${name}
    db_dir = ${raddbdir}
    libdir = /usr/lib/freeradius
    pidfile = ${run_dir}/${name}.pid
    correct_escapes = true
    max_request_time = 30
    cleanup_delay = 5
    max_requests = 16384
    hostname_lookups = no
    log {
      destination = stdout
      colourise = yes
      file = ${logdir}/radius.log
      syslog_facility = daemon
      stripped_names = yes
      auth = yes
      auth_badpass = yes
      auth_goodpass = yes
    }
    security {
      max_attributes = 200
      reject_delay = 1
      status_server = yes
    }
    proxy_requests = no
    $INCLUDE ${confdir}/clients.conf
    thread pool {
      start_servers = 5
      max_servers = 32
      min_spare_servers = 3
      max_spare_servers = 10
      max_requests_per_server = 0
    }
    modules {
      $INCLUDE ${confdir}/mods-enabled/
    }
    $INCLUDE sites-enabled/

  linelog: |
    linelog {
      filename = ${logdir}/linelog.log
      format = "Authenticated user: %{User-Name}"
    }

  generator-script: |
    #!/bin/bash
    while true; do
      echo "User-Name=user$RANDOM, User-Password=pass$RANDOM" | \
      radclient -d /etc/freeradius -t 1 -x 192.168.56.10:1812 auth testing123
      sleep 5
    done

---
apiVersion: apps/v1
kind: Deployment
metadata:
  name: radius-generator

spec:
  replicas: 1
  selector:
    matchLabels:
      app: radius-generator
  template:
    metadata:
      labels:
        app: radius-generator
    spec:
      containers:
      - name: radius-generator
        image: freeradius/freeradius-server
        command: ["/bin/bash"]
        args: ["-c", "cp /config/generator-script /tmp/generate.sh && chmod +x /tmp/generate.sh && /tmp/generate.sh"]
        volumeMounts:
        - name: config-volume
          mountPath: /config
      volumes:
      - name: config-volume
        configMap:
          name: radius-config

---
apiVersion: apps/v1
kind: Deployment
metadata:
  name: radius-processor

spec:
  replicas: 1
  selector:
    matchLabels:
      app: radius-processor
  template:
    metadata:
      labels:
        app: radius-processor
    spec:
      containers:
      - name: radius-processor
        image: freeradius/freeradius-server
        command: ["/usr/sbin/freeradius"]
        args: ["-X", "-f"]
        ports:
        - containerPort: 1812
          protocol: UDP
        - containerPort: 1813
          protocol: UDP
        volumeMounts:
        - name: config-volume
          mountPath: /etc/freeradius/sites-enabled/default
          subPath: default
        - name: config-volume
          mountPath: /etc/freeradius/clients.conf
          subPath: clients.conf
        - name: config-volume
          mountPath: /etc/freeradius/radiusd.conf
          subPath: radiusd.conf
        - name: config-volume
          mountPath: /etc/freeradius/mods-enabled/linelog
          subPath: linelog
        - name: log-volume
          mountPath: /var/log/freeradius
      volumes:
      - name: config-volume
        configMap:
          name: radius-config
      - name: log-volume
        emptyDir: {}

---
apiVersion: v1
kind: Service
metadata:
  name: radius-generator-service

spec:
  selector:
    app: radius-generator
  ports:
    - protocol: UDP
      port: 1812
      targetPort: 1812

---
apiVersion: v1
kind: Service
metadata:
  name: radius-processor-service

spec:
  selector:
    app: radius-processor
  ports:
    - name: auth
      protocol: UDP
      port: 1812
      targetPort: 1812
    - name: acct
      protocol: UDP
      port: 1813
      targetPort: 1813
  externalIPs:
    - 192.168.56.10
root@kube-control-plane:/usr/lib/systemd/system/kubelet.service.d#
correct my yaml give it full updaetd completed