DevOps Intelligence supports your use of Google Deployment Templates, and this page describes the configuration requirements.
For DevOps Intelligence to pull data from Google Deployment Templates, you must configure a Google Deployment Templates account or project.
Access Rights:
The project (Account) should have a service account of that particular project and have access/role at least as Project Viewer and Create New key in JSON Format, which is used to create/configure an account so that DevOps Intelligence can pull data from Google Cloud Platform.
The Google Cloud Platform requires the following steps to Create a Key respective Service Account.
Log in to the Google Cloud Platform console.
Select the project that you want to monitor. Note down the
Project ID
.
In the example image below, the project ID is
tryCICDPipeLine
Your selected project opens in the dashboard; please verify it is the same.
Then, from the left navigation pane, select
IAM & Admin
→
Service Accounts
On the menu that displays, click on
Service Accounts
, and then select
Create Service Account
. The
Create service account
dialog box is displayed. This is where the user must enter the account name, along with the following service account details:
Service Account details:
Service Account name
Service Account ID
Service Account Description
Then, select the
Create
button.
Next, on the
Service Accounts
page also from the left navigation pane, in the
Select a Role
field, select → Project → Viewer role.
On the
Service Accounts
page, grant users access to this service account (optional) under
Grant this service account access to project
and click on
Continue
.
Select the Newly created service account and create a new private key using the
Add Key
button and then selecting
Create Key
.
Then, a dialog box will appear that shows
Create New key file
for your account, here, you must select
JSON
format from the options displayed under
Key Type
. After this, click on
Create
.
Now, you must save the projectIDXXXXXX.json file at your respective location. This file is used to configure Google account in Kyndryl DevOps, and it contains the public key.
After the JSON is downloaded on the computer, ensure that the following APIs are be enabled on the
Google Cloud Platform
.
Please Enable API V2 using
projectID
in the APIs console at the following link: https://console.developers.google.com/apis/api/deploymentmanager.googleapis.com/project=xxxxxxxxxprojectid
The following example image shows the Enable option which you need to click on: