Automatically use secret when pulling from private registry

前端 未结 2 563
渐次进展
渐次进展 2021-01-01 23:34

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:

2条回答
  •  傲寒
    傲寒 (楼主)
    2021-01-02 00:03

    Two simple questions, where are you running your k8s cluster? Where is your registry located? Here there are a few approaches to your issue: https://kubernetes.io/docs/concepts/containers/images/#using-a-private-registry

提交回复
热议问题