This documentation is for a release that is no longer maintained
See documentation for the latest supported version.Chapter 2. Upgrading the Red Hat Developer Hub Helm Chart
You can upgrade to a later version of Red Hat Developer Hub in OpenShift Container Platform by using either the web console or the CLI.
OpenShift Container Platform web console
- In the Developer perspective, click Helm to open the Helm Releases tab.
- Click the overflow menu on the Helm release that you want to use and select Upgrade.
- On the Upgrade Helm Release page, select the version of Developer Hub that you want to upgrade to from the chart version drop-down list.
Click Upgrade.
NoteIt might take a few minutes to delete the resources in the older versions and to start the newer versions of the Developer Hub pods.
- Close all open Developer Hub web pages, and log in again to verify that the upgrade was successful.
OpenShift Container Platform CLI
Log in to the OpenShift Container Platform cluster as the cluster administrator and switch to the project or namespace in which Developer Hub was installed.
oc login -u <user> -p <password> https://api.<HOSTNAME>:6443 oc project my-rhdh-project
oc login -u <user> -p <password> https://api.<HOSTNAME>:6443 oc project my-rhdh-projectCopy to Clipboard Copied! Toggle word wrap Toggle overflow For a new version of the Developer Hub Helm chart, run the following upgrade command:
helm upgrade -i rhdh -f new-values.yml \ openshift-helm-charts/redhat-developer-hub --version 1.4.3
helm upgrade -i rhdh -f new-values.yml \ openshift-helm-charts/redhat-developer-hub --version 1.4.3Copy to Clipboard Copied! Toggle word wrap Toggle overflow NoteYou can also provide extra values to the chart by creating a
new-values.ymlfile on your workstation with values that override the attributes in the installed chart or by adding new attributes.