Jenkins Kubernetes Plugin: How to specify private docker repo credentials via the UI?
the imagePullSecret
relates to a Kubernetes secret where your credentials are stored
Details of how to create the Kubernetes can be found here: pull image from private registry
Create a Secret by providing credentials on the command line
Create this Secret, naming it regcred:
kubectl create secret docker-registry regcred --docker-server=<your-registry-server> --docker-username=<your-name> --docker-password=<your-pword> --docker-email=<your-email>
where:
<your-registry-server> is your Private Docker Registry FQDN. (https://index.docker.io/v1/ for DockerHub)<your-name> is your Docker username.<your-pword> is your Docker password.<your-email> is your Docker email.
then you should be able to set your imagepullsecret
to: regcred