You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* add route domain setup to values
Signed-off-by: Jordan Dubrick <jdubrick@redhat.com>
* expand template to include route handling
Signed-off-by: Jordan Dubrick <jdubrick@redhat.com>
* update deployment and route for fqdn setting
Signed-off-by: Jordan Dubrick <jdubrick@redhat.com>
* add helper script for openshift install
Signed-off-by: Jordan Dubrick <jdubrick@redhat.com>
* update documentation
Signed-off-by: Jordan Dubrick <jdubrick@redhat.com>
* add functionality for customizable name and path
Signed-off-by: Jordan Dubrick <jdubrick@redhat.com>
* update readme
Signed-off-by: Jordan Dubrick <jdubrick@redhat.com>
---------
Signed-off-by: Jordan Dubrick <jdubrick@redhat.com>
Copy file name to clipboardExpand all lines: README.md
+1-43Lines changed: 1 addition & 43 deletions
Original file line number
Diff line number
Diff line change
@@ -52,49 +52,7 @@ See the following for more on the component specific build process:
52
52
We recommend using the [Devfile Registry Operator](https://github.com/devfile/registry-operator) to install a Devfile Registry on your Kubernetes or OpenShift cluster. Consult [its Readme for more information](https://github.com/devfile/registry-operator#running-the-controller-in-a-cluster).
53
53
54
54
### Via the Devfile Registry Helm Chart
55
-
56
-
Alternatively, a Helm chart is also provided if you do not wish to use an operator. To install (with Helm 3) run:
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.
66
-
67
-
For example, if you're installing your own custom devfile registry image for dev/test purposes on Minikube, you might run:
You can deploy a devfile registry with a custom registry viewer image (uses `quay.io/devfile/registry-viewer:next` by default) by running the following:
For more information on the Helm chart, consult [its readme](deploy/chart/devfile-registry/README.md).
55
+
Alternatively, a Helm chart is also provided if you do not wish to use an operator. You can find instructions below for installing via Helm to either a Kubernetes or OpenShift environment. You can find detailed instructions [here](deploy/chart/devfile-registry/README.md).
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.
33
+
34
+
For example, if you're installing your own custom devfile registry image for dev/test purposes on Minikube, you might run:
You can deploy a devfile registry with a custom registry viewer image (uses `quay.io/devfile/registry-viewer:next` by default) by running the following:
#### Installation Via Helper Script Environment Variables
71
+
By default the name of the install will be `devfile-registry` and the path to the chart will be `/deploy/chart/devfile-registry` as `helm-openshift-install.sh` is located at the root of the repository. If you wish to change these values you need to set the `INSTALL_NAME` and `CHART_PATH` environment variables prior to running the script. Note that `devfile-registry` will be postfixed to any custom name, e.g. `export $INSTALL_NAME=my-install` will result in a Helm install for `my-install-devfile-registry`.
72
+
30
73
31
-
or, if you want to install a specific devfile index image, you can run:
74
+
There are 4 ways that you can install the registry on OpenShift:
75
+
#### 1: Via Installation Script With OpenShift Generated Route Hostname and Domain
76
+
77
+
If you wish to take advantage of OpenShift's generated hostname and domain, all you need to run is:
This will install the Devfile Registry to OpenShift for you with the generated route hostname and domain. If you wish to include additional arguments such as changing the image for `devfileIndex`, you can include those alongside the script call:
If you do not wish to use a helper script to install to OpenShift, you are able to mimic the Kubernetes installation with one slight change. Instead of `--set global.ingress.domain` you will swap it with `--set global.route.domain` as OpenShift utilizes Routes instead of Ingress.
Installing to OpenShift follows the same process as Kubernetes, you just need to ensure that `--set global.isOpenShift=true` is an argument to the install. Additionally, instead of `--set global.ingress.domain=<domain>` for Kubernetes you will instead include `--set global.route.domain=<domain>` for OpenShift. All other arguments are available to either Kubernetes or OpenShift.
106
+
107
+
#### 4: Via Helm CLI With OpenShift Generated Route Hostname and Domain
108
+
If you wish to manually mimic the `helm-openshift-install.sh` helper script you can follow these steps:
0 commit comments