Pull image with secret
Understand how to pull image with secret in Kubernetes.
Usage and Concept of pulling image with secret
When you want to pull an image from a private registry, you need to provide the credentials to authenticate with the registry. Therefore, you need to create a secret that contains the credentials and then use that secret to pull the image.
Create registry secret
You can use either one to create registry secret: