Pod envVars do not override environment variable defined before the pod creation

recently I faced the issue described here
https://issues.jenkins.io/browse/JENKINS-68875

is that actually an expected behavior?

is there a way to access specifically the environment variables defined by the podTemplate definition?

thanks