Skip to content

Commit ba09dac

Browse files
authored
fix: Change image repository to gcr.io (#9)
1 parent 4fc6fdd commit ba09dac

File tree

4 files changed

+7
-8
lines changed

4 files changed

+7
-8
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -42,10 +42,10 @@ No resources.
4242
| Name | Description | Type | Default | Required |
4343
|------|-------------|------|---------|:--------:|
4444
| <a name="input_cloudconnector_deploy"></a> [cloudconnector\_deploy](#input\_cloudconnector\_deploy) | Whether to deploy or not CloudConnector | `bool` | `true` | no |
45-
| <a name="input_cloudrun_image_scanning_deploy"></a> [cloudrun\_image\_scanning\_deploy](#input\_cloudrun\_image\_scanning\_deploy) | Whether to deploy or not CloudRun image scanning | `bool` | `true` | no |
46-
| <a name="input_gcr_image_scanning_deploy"></a> [gcr\_image\_scanning\_deploy](#input\_gcr\_image\_scanning\_deploy) | Whether to deploy or not GCR image scanning | `bool` | `true` | no |
45+
| <a name="input_cloudrun_image_scanning_deploy"></a> [cloudrun\_image\_scanning\_deploy](#input\_cloudrun\_image\_scanning\_deploy) | Whether to deploy or not CloudRun image scanning | `bool` | `false` | no |
46+
| <a name="input_gcr_image_scanning_deploy"></a> [gcr\_image\_scanning\_deploy](#input\_gcr\_image\_scanning\_deploy) | Whether to deploy or not GCR image scanning | `bool` | `false` | no |
4747
| <a name="input_location"></a> [location](#input\_location) | Zone where the stack will be deployed | `string` | `"us-central1"` | no |
48-
| <a name="input_naming_prefix"></a> [naming\_prefix](#input\_naming\_prefix) | Prefix for resource names. Use the default unless you need to install multiple instances, and modify the deployment at the main account accordingly | `string` | `"SysdigCloud"` | no |
48+
| <a name="input_naming_prefix"></a> [naming\_prefix](#input\_naming\_prefix) | Prefix for resource names. Use the default unless you need to install multiple instances, and modify the deployment at the main account accordingly | `string` | n/a | yes |
4949
| <a name="input_sysdig_secure_api_token"></a> [sysdig\_secure\_api\_token](#input\_sysdig\_secure\_api\_token) | Sysdig's Secure API Token | `string` | n/a | yes |
5050
| <a name="input_sysdig_secure_endpoint"></a> [sysdig\_secure\_endpoint](#input\_sysdig\_secure\_endpoint) | Sysdig Secure API endpoint | `string` | `"https://secure.sysdig.com"` | no |
5151

modules/cloud-connector/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ No modules.
5555
| <a name="input_config_content"></a> [config\_content](#input\_config\_content) | Contents of the configuration file to be saved in the bucket | `string` | `null` | no |
5656
| <a name="input_config_source"></a> [config\_source](#input\_config\_source) | Path to a file that contains the contents of the configuration file to be saved in the bucket | `string` | `null` | no |
5757
| <a name="input_extra_envs"></a> [extra\_envs](#input\_extra\_envs) | Extra environment variables for the Cloud Connector instance | `map(string)` | `{}` | no |
58-
| <a name="input_image_name"></a> [image\_name](#input\_image\_name) | Cloud Connector image to deploy | `string` | `"us-central1-docker.pkg.dev/mateo-burillo-ns/cloud-connector/cloud-connector:latest"` | no |
58+
| <a name="input_image_name"></a> [image\_name](#input\_image\_name) | Cloud Connector image to deploy | `string` | `"gcr.io/mateo-burillo-ns/cloud-connector:latest"` | no |
5959
| <a name="input_location"></a> [location](#input\_location) | Zone where the cloud connector will be deployed | `string` | `"us-central1"` | no |
6060
| <a name="input_naming_prefix"></a> [naming\_prefix](#input\_naming\_prefix) | Prefix for resource names. Use the default unless you need to install multiple instances, and modify the deployment at the main account accordingly | `string` | `"SysdigCloud"` | no |
6161
| <a name="input_sysdig_secure_api_token"></a> [sysdig\_secure\_api\_token](#input\_sysdig\_secure\_api\_token) | Sysdig's Secure API Token | `string` | n/a | yes |

modules/cloud-connector/variables.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ variable "location" {
3434

3535
variable "image_name" {
3636
type = string
37-
default = "us-central1-docker.pkg.dev/mateo-burillo-ns/cloud-connector/cloud-connector:latest"
37+
default = "gcr.io/mateo-burillo-ns/cloud-connector:latest"
3838
description = "Cloud Connector image to deploy"
3939
}
4040

variables.tf

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
variable "naming_prefix" {
22
type = string
3-
default = "SysdigCloud"
43
description = "Prefix for resource names. Use the default unless you need to install multiple instances, and modify the deployment at the main account accordingly"
54

65
validation {
@@ -29,13 +28,13 @@ variable "cloudconnector_deploy" {
2928

3029
variable "gcr_image_scanning_deploy" {
3130
type = bool
32-
default = true
31+
default = false
3332
description = "Whether to deploy or not GCR image scanning"
3433
}
3534

3635
variable "cloudrun_image_scanning_deploy" {
3736
type = bool
38-
default = true
37+
default = false
3938
description = "Whether to deploy or not CloudRun image scanning"
4039
}
4140

0 commit comments

Comments
 (0)