If your docker is hosted as private repository on Docker Hub, following the below steps to install the same using Helm
- Create a Docker Hub secret in your namespace. On Rancher select your namespace, and navigate to Secrets -> Create -> Registry -> DockerHub. Provide
Name
: Name of the secret (arbitrary)Username
: Docker Hub user idPassword
: User access token (Make sure original password is NOT given here)
- While deploying via Helm add the following into the Helm YAML
image:
pullPolicy: Always
repository: openg2p/<your docker repository name>
tag: <docker tag>
pullSecrets: <name of the secret>