<p>I'm trying to support two systems both of which pull  images from private repos. One is from Kubernetes - which needs imagePullSecrets via a mounted secret and the other just needs standard docker login.</p>
<p>Based on this - <a href="https://stackoverflow.com/questions/65356293/pulling-images-from-private-repository-in-kubernetes-without-using-imagepullsecr">Pulling images from private repository in kubernetes without using imagePullSecrets</a> - it does not appear there's a way to use injected values to pull an image inside of Kubernetes - am I wrong?</p>
<p>What i'd really like is for both Kubernetes/Kubeflow and the other system to just both get an array of values (server, login, password, email) and be able to pull a private image.</p>

aronchick
<p>You can handle both by doing the login at the lower level of dockerd or containerd on the host itself. Otherwise not really, other than mounting the image pull secret into the container if it will respect a dockerconfig.</p>
