Version:

Version:

Version:

Version:


Table of Contents

Online Help

Add OpenShift Registry Example

  1. Log into RedHat OpenShift Container Platform as the administrator, go to Networking > Routes, click the Project drop down menu to select the project that has the route to the registry, then make a note of the Location field (registry url): 
  2. Use an API client like Postman to call the API (/v2/catalog) using Openshift Registry url with Get method:
  3. For Example: https://default-route-openshift-image-registry.apps.osregistrycluster.forticontainer-research.com/v2/catalog/.

  4. Make a note of the repository names to be added: "openshift/cli", "openshift/golang", and "openshift/httpd".
  5. Log into FortiCWP > Container Protection. From the navigation menu, go to CONFIGURE > Registry, click +ADD NEW and select Openshift Container Registry.
    1. Enter the Openshift Container Registry url: https://default-route-openshift-image-registry.apps.osregistrycluster.forticontainer-research.com.
    2. In Repository, enter "openshift/cli"
    3. In Tag field, enter ".*" to scan all images of the repository.
    4. In CAP field, enter 5 as the maximum images to be scanned.
    5. Click +Add New Repository to add "openshift/golang" and "openshift/httpd", repeat step b-d.
    6. Click Select Openshift Service Account drop down menu to select the Openshift Service account user of the registry.
    7. Click Scan Images in the following Kubernetes Cluster drop down menu and select a Kubernetes cluster, then click Add Registry.

 

 

 

 

 

 

Add OpenShift Registry Example

  1. Log into RedHat OpenShift Container Platform as the administrator, go to Networking > Routes, click the Project drop down menu to select the project that has the route to the registry, then make a note of the Location field (registry url): 
  2. Use an API client like Postman to call the API (/v2/catalog) using Openshift Registry url with Get method:
  3. For Example: https://default-route-openshift-image-registry.apps.osregistrycluster.forticontainer-research.com/v2/catalog/.

  4. Make a note of the repository names to be added: "openshift/cli", "openshift/golang", and "openshift/httpd".
  5. Log into FortiCWP > Container Protection. From the navigation menu, go to CONFIGURE > Registry, click +ADD NEW and select Openshift Container Registry.
    1. Enter the Openshift Container Registry url: https://default-route-openshift-image-registry.apps.osregistrycluster.forticontainer-research.com.
    2. In Repository, enter "openshift/cli"
    3. In Tag field, enter ".*" to scan all images of the repository.
    4. In CAP field, enter 5 as the maximum images to be scanned.
    5. Click +Add New Repository to add "openshift/golang" and "openshift/httpd", repeat step b-d.
    6. Click Select Openshift Service Account drop down menu to select the Openshift Service account user of the registry.
    7. Click Scan Images in the following Kubernetes Cluster drop down menu and select a Kubernetes cluster, then click Add Registry.