Automatically use secret when pulling from private registry : <p>Is it possible to globally (or at least per namespace), configure kubernetes to always use an image pull secret when connecting to a private repo? 
There are two use cases: </p>

<ol>
<li>when a user specifies a container in our private registry in a deployment</li>
<li>when a user points a Helm chart at our private repo (and so we have no control over the image pull secret tag).</li>
</ol>

<p>I know it is possible to do this on a <a href="https://kubernetes.io/docs/concepts/containers/images/#using-a-private-registry" rel="noreferrer">service account basis</a> but without writing a controller to add this to every new service account created it would get a bit of a mess.</p>

<p>Is there are way to set this globally so if kube tries to pull from registry X it uses secret Y?</p>

<p>Thanks</p>
