Skip to content

Commit

Permalink
Merge pull request #104 from bschaatsbergen/f/disable-privileged-cont…
Browse files Browse the repository at this point in the history
…ainer

Set `privileged` to `false`
  • Loading branch information
bschaatsbergen authored Feb 24, 2023
2 parents f9f875c + 7c96f30 commit 69304d7
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
7 changes: 4 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -177,9 +177,9 @@ You can check the status of the certificate in the Google Cloud Console.

| Name | Version |
|------|---------|
| <a name="provider_cloudinit"></a> [cloudinit](#provider\_cloudinit) | 2.2.0 |
| <a name="provider_google"></a> [google](#provider\_google) | 4.47.0 |
| <a name="provider_random"></a> [random](#provider\_random) | 3.4.3 |
| <a name="provider_cloudinit"></a> [cloudinit](#provider\_cloudinit) | >=2.2.0 |
| <a name="provider_google"></a> [google](#provider\_google) | >=4.47.0 |
| <a name="provider_random"></a> [random](#provider\_random) | >=3.4.3 |

## Modules

Expand Down Expand Up @@ -237,6 +237,7 @@ You can check the status of the certificate in the Google Cloud Console.
| Name | Description |
|------|-------------|
| <a name="output_cos_image_id"></a> [cos\_image\_id](#output\_cos\_image\_id) | The unique identifier of the Container-Optimized OS image used to create the Compute Engine instance. |
| <a name="output_iap_backend_service_name"></a> [iap\_backend\_service\_name](#output\_iap\_backend\_service\_name) | Name of the optional IAP-enabled backend service |
| <a name="output_ip_address"></a> [ip\_address](#output\_ip\_address) | The IPv4 address of the load balancer |
| <a name="output_managed_ssl_certificate_certificate_id"></a> [managed\_ssl\_certificate\_certificate\_id](#output\_managed\_ssl\_certificate\_certificate\_id) | The unique identifier of the Google Managed SSL certificate |
| <a name="output_managed_ssl_certificate_expire_time"></a> [managed\_ssl\_certificate\_expire\_time](#output\_managed\_ssl\_certificate\_expire\_time) | Expire time of the Google Managed SSL certificate |
Expand Down
2 changes: 1 addition & 1 deletion main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ module "container" {
container = {
image = var.image
securityContext = {
privileged = true
privileged = false
}
tty = true
env = [for key, value in var.env_vars : {
Expand Down

0 comments on commit 69304d7

Please sign in to comment.