이 콘텐츠는 선택한 언어로 제공되지 않습니다.
Chapter 2. Ensuring the availability of image streams and the image registry
To deploy Red Hat Process Automation Manager components on Red Hat OpenShift Container Platform, you must ensure that OpenShift can download the correct images from the Red Hat registry. To download the images, OpenShift requires image streams, which contain the information about the location of images. OpenShift also must be configured to authenticate with the Red Hat registry using your service account user name and password.
Some versions of the OpenShift environment include the required image streams. You must check if they are available. If image streams are available in OpenShift by default, you can use them if the OpenShift infrastructure is configured for registry authentication server. The administrator must complete the registry authentication configuration when installing the OpenShift environment.
Otherwise, you can configure registry authentication in your own project and install the image streams in that project.
Procedure
- Determine whether Red Hat OpenShift Container Platform is configured with the user name and password for Red Hat registry access. For details about the required configuration, see Configuring a Registry Location. If you are using an OpenShift Online subscription, it is configured for Red Hat registry access.
If Red Hat OpenShift Container Platform is configured with the user name and password for Red Hat registry access, enter the following commands:
oc get imagestreamtag -n openshift | grep -F rhpam-businesscentral | grep -F 7.5 oc get imagestreamtag -n openshift | grep -F rhpam-kieserver | grep -F 7.5
$ oc get imagestreamtag -n openshift | grep -F rhpam-businesscentral | grep -F 7.5 $ oc get imagestreamtag -n openshift | grep -F rhpam-kieserver | grep -F 7.5Copy to Clipboard Copied! Toggle word wrap Toggle overflow If the outputs of both commands are not empty, the required image streams are available in the
openshiftnamespace and no further action is required.If the output of one or both of the commands is empty or if OpenShift is not configured with the user name and password for Red Hat registry access, complete the following steps:
-
Ensure you are logged in to OpenShift with the
occommand and that your project is active. - Complete the steps documented in Registry Service Accounts for Shared Environments. You must log in to the Red Hat Customer Portal to access the document and to complete the steps to create a registry service account.
- Select the OpenShift Secret tab and click the link under Download secret to download the YAML secret file.
-
View the downloaded file and note the name that is listed in the
name:entry. Enter the following commands:
oc create -f <file_name>.yaml oc secrets link default <secret_name> --for=pull oc secrets link builder <secret_name> --for=pull
oc create -f <file_name>.yaml oc secrets link default <secret_name> --for=pull oc secrets link builder <secret_name> --for=pullCopy to Clipboard Copied! Toggle word wrap Toggle overflow Replace
<file_name>with the name of the downloaded file and<secret_name>with the name that is listed in thename:entry of the file.-
Download the
rhpam-7.5.1-openshift-templates.zipproduct deliverable file from the Software Downloads page and extract therhpam75-image-streams.yamlfile. Enter the following command:
oc apply -f rhpam75-image-streams.yaml
$ oc apply -f rhpam75-image-streams.yamlCopy to Clipboard Copied! Toggle word wrap Toggle overflow NoteIf you complete these steps, you install the image streams into the namespace of your project. In this case, when you deploy the templates, you must set the
IMAGE_STREAM_NAMESPACEparameter to the name of this project.
-
Ensure you are logged in to OpenShift with the