Private Nexus Repository Unauthorized Error from Buildah

Posted on

Hi,

Has anyone faced this issue reaching to a private nexus repository for pulling images from a pod spawned by Buildah:
From pod logs:

$ buildah pull --tls-verify=false nexus3repo.example.com/centos:7 

Error initializing source docker://nexus3repo.example.com/centos:7: Error reading manifest 7 in nexus3repo.example.com/centos: unauthorized: access to the requested resource is not authorized

[example.com substituted for actual company domain]

I assumed nexus secret would be available from cluster-level permissions, but that is clearly not the case.

Any suggestions? Work-arounds?

Thanks!
Angus