Image Pull Secret


Generate image pull secret on Kubernetes cluster from integrated Docker registry.

For Kuberentes cluster to pull an image from your private registry it needs special secret typed as
After this secret been created you can use them in pod template that lives in the same namespace.
You can generate this secret from any integrated Docker registry on your account.
More information about image pull secret can be found here:


codefresh generate image-pull-secret


Option Alias Type Default Description
--help Print help information
--cluster cluster name. required
--namespace string default namespace name
--registry name of Docker registry to generate pull secret from. required


Generate image pull secret

codefresh generate image-pull-secret --cluster cluster --registry cfcr