github.com/stakater/IngressMonitorController@v1.0.103/docs/gcloud-configuration.md (about)

     1  # Gcloud Configuration
     2  
     3  You can configure Google Cloud Monitoring Uptime Checks as a Ingress Monitor by using below configuration:
     4  
     5  | Key          | Description                                                                         |
     6  | -------------| ----------------------------------------------------------------------------------- |
     7  | name         | Name of the provider (e.g. gcloud)                                                  |
     8  | apiKey       | JSON Service Account Key                                                            |
     9  | gcloudConfig | `gcloudConfig` is the configuration specific to gcloud Instance as mentioned below: |
    10  
    11  ## gcloud Configuration:
    12  
    13  | Key       | Description                                                                                                    |
    14  | --------- | ----------------------- |
    15  | projectId | Google Cloud Project ID |
    16  
    17  **Example Configuration:**
    18  
    19  ```yaml
    20  providers:
    21    - name: gcloud
    22      apiKey: |
    23        {
    24          "type": "service_account",
    25          "project_id": "...",
    26          "private_key_id": "...",
    27          "private_key": "-----BEGIN PRIVATE KEY-----\n...\n-----END PRIVATE KEY-----\n",
    28          "client_email": "...iam.gserviceaccount.com",
    29          "client_id": "...",
    30          "auth_uri": "https://accounts.google.com/o/oauth2/auth",
    31          "token_uri": "https://oauth2.googleapis.com/token",
    32          "auth_provider_x509_cert_url": "https://www.googleapis.com/oauth2/v1/certs",
    33          "client_x509_cert_url": "https://www.googleapis.com/robot/v1/metadata/x509/...iam.gserviceaccount.com"
    34        }
    35      gcloudConfig:
    36        projectId: project-name
    37  enableMonitorDeletion: true
    38  ```