I have created a pod using RHEL9 ubi9-init image. I added envFrom term in the K8s yaml file for the pod that imports environment variables from the K8s configmap. The running pod /proc/1/environ
has reflected the configmap KVs. However, I have noticed that systemd is not forwarding these environment variables to the SSH server it spawned, while the SSH server is not honoring those variables in the SSH connections it created.
Basically, I have a bunch of environment variables defined in the configmap, and I would like them to be set in the SSH connections to the pods. Is there a way I could easily use?