Even you change the endpointUrl in cr.yaml, it will be updated in PBM (backup-agent) container only after you try to take another backup or perform the restoration.
Could you please set endpointUrl in cr.yaml with http and try to take the backup through psmdb-backup CR?