root@kube-control-plane:/usr/lib/systemd/system/kubelet.service.d# kubectl logs freeradius-deployment-69b8866987-s572r -c  packet-generator
Sending RADIUS request...
radclient: dict_init: /etc/freeradius/dictionary[2]: Couldn't open dictionary "/etc/freeradius/${confdir}//dictionary.test": No such file or directory
Sending RADIUS request...
radclient: dict_init: /etc/freeradius/dictionary[2]: Couldn't open dictionary "/etc/freeradius/${confdir}//dictionary.test": No such file or directory
Sending RADIUS request...
radclient: dict_init: /etc/freeradius/dictionary[2]: Couldn't open dictionary "/etc/freeradius/${confdir}//dictionary.test": No such file or directory
Sending RADIUS request...
radclient: dict_init: /etc/freeradius/dictionary[2]: Couldn't open dictionary "/etc/freeradius/${confdir}//dictionary.test": No such file or directory
Sending RADIUS request...
radclient: dict_init: /etc/freeradius/dictionary[2]: Couldn't open dictionary "/etc/freeradius/${confdir}//dictionary.test": No such file or directory
Sending RADIUS request...
radclient: dict_init: /etc/freeradius/dictionary[2]: Couldn't open dictionary "/etc/freeradius/${confdir}//dictionary.test": No such file or directory
Sending RADIUS request...
radclient: dict_init: /etc/freeradius/dictionary[2]: Couldn't open dictionary "/etc/freeradius/${confdir}//dictionary.test": No such file or directory
Sending RADIUS request...
radclient: dict_init: /etc/freeradius/dictionary[2]: Couldn't open dictionary "/etc/freeradius/${confdir}//dictionary.test": No such file or directory
Sending RADIUS request...
radclient: dict_init: /etc/freeradius/dictionary[2]: Couldn't open dictionary "/etc/freeradius/${confdir}//dictionary.test": No such file or directory
Sending RADIUS request...
radclient: dict_init: /etc/freeradius/dictionary[2]: Couldn't open dictionary "/etc/freeradius/${confdir}//dictionary.test": No such file or directory
Sending RADIUS request...
radclient: dict_init: /etc/freeradius/dictionary[2]: Couldn't open dictionary "/etc/freeradius/${confdir}//dictionary.test": No such file or directory
in
# ConfigMap for FreeRADIUS configuration with vendor-specific attributes
apiVersion: v1
kind: ConfigMap
metadata:
  name: freeradius-config
data:
  clients.conf: |
    client localhost {
      ipaddr = 127.0.0.1
      secret = testing123
      require_message_authenticator = no
    }
  # User definition with reply attributes
  users: |
    bob    Cleartext-Password := "hello"
      Reply-Message := "Hello, %{User-Name}"
      Test-Vendor-Lunch-Time := 1633072800
      Test-Vendor-People-To-Eat-With += "Alice"
      Test-Vendor-People-To-Eat-With += "Charlie"
      Test-Vendor-People-To-Eat-With += "Eve"
      Test-Vendor-People-To-Eat-With += "Mallory"
      Test-Vendor-Where-To-Eat := 192.168.1.100
      Test-Vendor-What-To-Eat := Bread
  # Custom vendor-specific dictionary
  dictionary.test: |
    VENDOR       Test-Vendor    123456

    BEGIN-VENDOR Test-Vendor

    ATTRIBUTE    Lunch-Time            1    date
    ATTRIBUTE    People-To-Eat-With    2    string
    ATTRIBUTE    Where-To-Eat          3    ipaddr
    ATTRIBUTE    What-To-Eat           4    integer

    VALUE        What-To-Eat    Salad        1
    VALUE        What-To-Eat    Bread        2
    VALUE        What-To-Eat    Dessert      3
    VALUE        What-To-Eat    Beans        4

    END-VENDOR   Test-Vendor
  # Main dictionary that includes the custom dictionary
  dictionary: |
    $INCLUDE /usr/share/freeradius/dictionary
    $INCLUDE ${confdir}/dictionary.test

---

# Service to expose FreeRADIUS server (not strictly necessary within the same pod, but included per your request)
apiVersion: v1
kind: Service
metadata:
  name: freeradius-service
spec:
  selector:
    app: freeradius
  ports:
    - protocol: UDP
      port: 1812
      targetPort: 1812

---

# Deployment with two containers: FreeRADIUS server and packet generator
apiVersion: apps/v1
kind: Deployment
metadata:
  name: freeradius-deployment
spec:
  replicas: 1
  selector:
    matchLabels:
      app: freeradius
  template:
    metadata:
      labels:
        app: freeradius
    spec:
      volumes:
        - name: freeradius-config
          configMap:
            name: freeradius-config
      containers:
        # FreeRADIUS server container
        - name: freeradius-server
          image: freeradius/freeradius-server
          command: ["radiusd", "-X"]
          ports:
            - containerPort: 1812
              protocol: UDP
          volumeMounts:
            - name: freeradius-config
              mountPath: /etc/raddb/clients.conf
              subPath: clients.conf
            - name: freeradius-config
              mountPath: /etc/raddb/users
              subPath: users
            - name: freeradius-config
              mountPath: /etc/raddb/dictionary
              subPath: dictionary
            - name: freeradius-config
              mountPath: /etc/raddb/dictionary.test
              subPath: dictionary.test
        # Packet generator container
        - name: packet-generator
          image: freeradius/freeradius-server
          command: ["/bin/sh", "-c"]
          args:
            - |
              sleep 10  # Delay to ensure server startup
              while true; do
                echo "Sending RADIUS request..."
                echo "User-Name = "bob"
User-Password = "hello"" | radclient -x 127.0.0.1:1812 auth testing123 2>&1
                sleep 5
              done
          volumeMounts:
            - name: freeradius-config
              mountPath: /etc/raddb/dictionary
              subPath: dictionary
            - name: freeradius-config
              mountPath: /etc/raddb/dictionary.test
              subPath: dictionary.test


---
recreaet it full completed updaetd completed and slove teh probleme please