Skip to content

HarshithaMS005/registry-support

 
 

Repository files navigation

registry-support

Provide support for devfile registries

Issue tracking repo: https://github.com/devfile/api with label area/registry

Build

To build all of the components together (recommended) for dev/test, run ./build_registry.sh to build a Devfile Registry index image that is populated with the mock devfile registry data under tests/registry/.

Once the container has been pushed, you can push it to a container registry of your choosing with the following commands:

docker tag devfile-index <registry>/<username>/devfile-index:latest

followed by

docker push <registry>/<username>/devfile-index:latest

Deploy

Via the Devfile Registry Operator

We recommend using the Devfile Registry Operator to install a Devfile Registry on your Kubernetes or OpenShift cluster. Consult its Readme for more information.

Via the Devfile Registry Helm Chart

Alternatively, a Helm chart is also provided if you do not wish to use an operator. To install (with Helm 3) run:

$ helm install devfile-registry ./deploy/chart/devfile-registry \ 
    --set global.ingress.domain=<ingress-domain> \
	--set devfileIndex.image=<index-image> \
	--set devfileIndex.tag=<index-image-tag>

Where <ingress-domain> is the ingress domain for your cluster, <index-image> is the devfile index image you want to deploy, and <index-image-tag> is the corresponding image tag for the devfile index image.

For example, if you're installing your own custom devfile registry image for dev/test purposes on Minikube, you might run:

$ helm install devfile-registry ./deploy/chart/devfile-registry \
    --set global.ingress.domain="$(minikube ip).nip.io" \
	--set devfileIndex.image=quay.io/someuser/devfile-index \
	--set devfileIndex.tag=latest

For more information on the Helm chart, consult its readme.

About

Provide support for devfile registries

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Go 85.9%
  • Shell 9.6%
  • Dockerfile 3.6%
  • Smarty 0.9%