I have create cron job in kubernetes and I have ssh key in one of pod directory. when I am executing from command line its working fine, but when I am manually triggered , cron job is not recognizing .ssh folder .
scp -i /srv/batch/source/.ssh/id_rsa user@server:/home/data/openings.csv /srv/batch/source