This article explains how to add Google Artifact Registries (GAR) in SWIFT. You just need to give the GAR configuration. Once added, SWIFT will connect and show your container images from GAR. Also you can do image registry sync.
Pre-Requisite:
1. A valid Google Cloud account with Artifact Registry enabled
2. GAR location/region
3. A Service Account JSON key file with permissions to access Artifact Registry
Following are steps to discover the GAR.
1. We need to login to the ‘SWIFT’ dashboard and navigate to the ‘Artifact Registries’ menu and click on ‘Add’ button. Please check below screenshot for your reference.
2. When you click on 'Add' button , you will appear 'Artifact Registry Add' page where you need to provide GAR configuration as below.
Field Name | Field Description |
Friendly Name | You need to enter a friendly name according to your project. |
Registry Cloud Type | It will be by default selected Google GCP |
Location | Provide GAR location/region |
Private Key file | The private key file is a JSON key file downloaded from Google Cloud for a Service Account |
3. Once you click on 'Add' button, then it will discovered the GAR.
4. Once the Google Artifact registry is discovered, you can view all information like Summary and image repos. Please refer to the screenshot below.
- When you go to the Summary tab, you will find information about the registry, such as Friendly name, Registry cloud type and more.
- When you go to the Artifact Repositories tab, you will see all the images, tags, and repository URLs under the registry.
What next:
- Re-Discover : This option allows you to re-discover the Artifact registry. If you have added new images or changed some image tags and want them to be reflected in the SWIFT portal, you can re-discover the image registry. Please refer to the link below for detailed steps on how to re-discover a Image registry.
<link>
- Configure : Use this option if you want to modify the Artifact registry configuration. Please check KB Article on 'Configure the image registry'
<link>
- Delete : Use this option to delete the image registry. It will delete from SWIFT dashboard only not from cloud.
## Now that the Artifact registry has been discovered, you may want to set up a DR Policy for Artifact registry sync Then follow below KB links.
<kb_link>
## If you want to sync one Artifact registry with another, you can do that as well. For detailed steps, please refer to the KB article linked below.
<kb_link>