Fortinet white logo
Fortinet white logo

Online Help

Add OpenShift Registry Example

Add OpenShift Registry Example

  1. Log into RedHat OpenShift Container Platform as the administrator, go to Networking > Routes, make a note of the Openshift registry url:
  2. https://default-route-openshift-image-registry.apps.osregistrycluster.forticontainer-research.com

  3. Use an API client like Postman to call the API (/v2/catalog) using Openshift Registry url with Get method:
  4. https://default-route-openshift-image-registry.apps.osregistrycluster.forticontainer-research.com/v2/catalog/.

  5. Make a note of the repository names to be added: "openshift/cli", "openshift/golang", and "openshift/httpd".
  6. 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

Add OpenShift Registry Example

  1. Log into RedHat OpenShift Container Platform as the administrator, go to Networking > Routes, make a note of the Openshift registry url:
  2. https://default-route-openshift-image-registry.apps.osregistrycluster.forticontainer-research.com

  3. Use an API client like Postman to call the API (/v2/catalog) using Openshift Registry url with Get method:
  4. https://default-route-openshift-image-registry.apps.osregistrycluster.forticontainer-research.com/v2/catalog/.

  5. Make a note of the repository names to be added: "openshift/cli", "openshift/golang", and "openshift/httpd".
  6. 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.