Chapter 2. Upgrading the Red Hat Developer Hub Helm Chart
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 . Note It 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 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.2 Note You can also provide extra values to the chart by creating a new-values.yml file on your workstation with values that override the attributes in the installed chart or by adding new attributes.
login -u <user> -p <password> https://api.<HOSTNAME>:6443 project my-rhdh-project helm upgrade -i rhdh -f new-values.yml openshift-helm-charts/redhat-developer-hub --version 1.4.2