Closed cgoolsby closed 5 months ago
You just have to prefix the image with the registry if you want to fallback to sth else: From this:
image: "jeffail/benthos"
To this:
image: "ghcr.io/jeffail/benthos"
This is the general approach of doing it. Consider it as how we do it in Dockerfiles:
FROM docker.redpanda.com/redpandadata/redpanda
Also you can then specify imagePullSecrets along with it.
As @danriedl said, you can already do this by using repository: "ghcr.io/jeffail/benthos"
. Thanks anyway for taking the time to raise the PR!
In some on-prem environments users wish to pull from a local registry/repository as opposed to pulling from docker.io
This PR sets the default
image.registry: docker.io
and addsimage.registry
to theimage:
of the deployment.yaml template.