15.4. Integrating with Google Container Registry
You can integrate Red Hat Advanced Cluster Security for Kubernetes with Google Container Registry (GCR) for container analysis and vulnerability scanning.
Prerequisites
- You must have a service account key for the Google Container Registry.
- The associated service account has access to the registry. See Configuring access control for information about granting users and other projects access to GCR.
If you are using GCR Container Analysis, you have granted the following roles to the service account:
- Container Analysis Notes Viewer
- Container Analysis Occurrences Viewer
- Storage Object Viewer
Procedure
-
In the RHACS portal, go to Platform Configuration
Integrations. Under the Image Integrations section, select Google Container Registry.
The Configure image integration modal box opens.
- Click New Integration.
Enter the details for the following fields:
- Integration Name: The name of the integration.
- Types: Select Scanner.
- Registry Endpoint: The address of the registry.
- Project: The Google Cloud project name.
- Service account key (JSON) Your service account key for authentication.
-
Select Test (
checkmarkicon) to test that the integration with the selected registry is working. -
Select Create (
saveicon) to create the configuration.