Optional secret in extraSecretEnvironmentVars

I want to load k8s secret content while deploying vault helm chart but I do not want the deployment to fail if it does not exist. the extraSecretEnvironmentVars does not have the optional field. is there another way? Thanks