Configuring Registry

Every Camel K installation needs a container registry that will be used to host integration container images.

A default registry is present in all the following supported installations:

  • OpenShift: all OpenShift installations (including CRC and real clusters) provide an internal container registry that is used for the S2I (source to image) feature. Camel K is able to leverage that registry.

  • Minikube: Minikube comes with a "registry addon" that can be enabled upon installation (see install guide for Minikube). Camel K automatically detects the address of the registry and configures it on the IntegrationPlatform when using the CLI (on kamel install).

  • Docker Desktop: Docker provides an open source Docker Registry that can be started upon installation (see install guide for Docker Desktop).

Other platforms do not provide a default container registry and need to be configured accordingly.

Registry configuration can be set upon installation using command:

$ kamel install --registry --organization your-user-id-or-org --registry-secret the-push-kubernetes-secret-name

Alternatively, the same settings can be set in the .spec.pipeline.registry section of the IntegrationPlatform resource.

kind: IntegrationPlatform
    app: camel-k
  name: camel-k
      organization: your-user-id-or-org
      secret: the-push-kubernetes-secret-name

Additional information on setting up registries can be found in the registry specific sub-section.

if your repository is not listed in any sub-section, you can try setting it up using the instructions for Docker Hub.