Implement IBM Sterling Order Management Helm Chart using Red Hat OpenShift 4.6

Using Red Hat OpenShift Container Platform 4.6 with Sterling Order Management Helm Charts

For over a year, IBM Sterling™ Order Management containers have been available on the Red Hat® OpenShift® Container Platform. In addition to enhanced functionality, each quarterly Order Management release also uses the latest Red Hat OpenShift containerization and deployment strategies.

Red Hat OpenShift 4.4, introduced container deployment using the Helm Charts in the Developer Catalog. IBM Sterling Order Management, a marquee product, is available by default in the Red Hat OpenShift Helm Chart catalog. Both the Red Hat OpenShift Helm catalog and IBM Sterling Order Management support Helm 3 and later.

Red Hat OpenShift Container Platform v4.6 builds on the Helm Chart features in 4.4. In this release, you can:

  • Add Helm repositories to the Developer Catalog. You can deploy charts across development, testing and production instances by adding the ibm-helm repository and your custom repository locations.
  • Deploy Order Management Helm Charts in a simpler and more intuitive way by using the Form View option. This method is available when the Helm 3 values.schema.json values are present within the chart.
  • Deploy different versions of Helm Charts to different namespaces.

Learning objectives

In this tutorial, you will learn how to:

  • Configure your own Helm Chart repository on Red Hat OpenShift 4.6
  • Implement Sterling Order Management charts using the Developer Catalog Form View

Prerequisites

Make sure you install the Red Hat OpenShift Container Platfom 4.6 and meet all IBM Sterling Order Management deployment prerequisites.

Estimated time

Expect this tutorial to take about 30 minutes.

Steps

Configuring Helm repositories

In Red Hat OpenShift Container Platform 4.4x clusters the Red Hat Helm repository is preconfigured by default. In OpenShift Container Platform 4.6, you can configure additional chart repositories by using OpenShift console. Charts from all configured Helm repositories are merged into a single view within the Developer Catalog. If a chart is duplicated in multiple repositories, the chart tile shows the name of the source repository.

You can configure Helm Charts by using the user interface, or by using the command line.

User interface

  1. Log in to the Red Hat OpenShift Container platform.
  2. From the left navigation pane, select Developer dashboard
  3. Click Search then click the Resources menu. From the list, select HelmChartRepository.
  4. Click Create HelmChartRepository then enter the YAML definition.

Command line

  1. Log in to the Red Hat OpenShift Container platform using oc command-line interface.
  2. Apply HelmChartRepository custom resource definition for the target Helm repository.
    kubectl apply -f <helmchartrepository.yaml>
  3. Enter the YAML definition.
$ cat <<EOF | kubectl apply -f -
apiVersion: helm.openshift.io/v1beta1
kind: HelmChartRepository
metadata:
  name: ibm-helm-repo
spec:
  connectionConfig:
    url: https://raw.githubusercontent.com/IBM/charts/master/repo/ibm-helm
EOF

The Developer Catalog displays the charts from the configured Helm Chart repositories.

Screen capture of Developer Chart

Installing charts

The Form View is a new feature in Red Hat OpenShift Container Platform 4.6. The Form View, enabled by default with Sterling Order Management Helm Chart 5.1.0, is displayed when the Helm 3 values.schema.json is present within the chart. You can can easily navigate various configuration options available in Helm Chart:

  1. From the left navigation pane, click +Add and select the From Catalog option. The Developer Catalog page is displayed.
  2. Select the Order Management chart to install, read the chart’s information, and click Install Helm Chart. The Install Helm Chart page is displayed.
  3. In the Configure via field, ensure that Form View is selected.
  4. In the Chart Version field, select the appropriate Helm Chart version. The list shows all Helm Charts that meet the criteria defined in the Chart.yaml file.
    Screen capture of Install Helm Chart
  5. Follow the directions in the topic Installing Professional or Enterprise edition certified container images to configure the Helm Charts, pull the images, and deploy the images into your Red Hat OpenShift cluster. Screen capture of Install Helm Chart

Summary

In this tutorial, you learned how to confire the chart repository configurations and IBM Sterling Order Management installation using the new user interface introduced in OpenShift Container Platform 4.6.