Deploy OpenIAM to OpenShift cluster with Helm (from Windows)

This section describes how to deploy OpenIAM to an OpenShift cluster using Helm from Windows.

Deploy OpenIAM to OpenShift cluster with Helm

All documentation pertaining to deploying OpenIAM to Kubernetes can be found here: https://bitbucket.org/openiam/kubernetes-docker-configuration/src/RELEASE-4.2.1.3

This repository contains all the necessary code to deploy to the above-mentioned platforms, using helm.

To check out the repository:

git clone git@bitbucket.org:openiam/kubernetes-docker-configuration.git
cd kubernetes-docker-configuration
git checkout RELEASE-4.2.1.3

Deploy to OpenShift with Helm

Example on Windows

Install Helm

  1. Install helm v3.3.4
https://github.com/helm/helm/releases/tag/v3.3.4

Login in oc

oc login

You will get the following message:

You must obtain an API token by visiting https://oauth-openshift.apps.********.********.aroapp.io/oauth/token/request

Go to page and get the login command with API token. It will look like the example below:

oc login --token=sha256~****************** --server=https://api.********.************.aroapp.io:6443

or you can use login/password

oc login <apiServer> -u <userName> -p <password>

After successfully authenticatin, you will get the following message:

Logged into "https://api.********.***********.aroapp.io:6443" as "kube:admin" using the token provided.
You have access to 65 projects, the list has been suppressed. You can list all projects using 'oc projects'
Using project "default".

Run startup script

Check deploy steps from kubernetes-docker-configuration/openshift/helm/win/README.md before run deploy script.

Set required properties in kubernetes-docker-configuration/openshift/helm/win/env.bat

cd kubernetes-docker-configuration/openshift/helm/win
./setup-helm.bat