Skip to content

Commit

Permalink
Merge pull request #26 from isovalent/make-additional-cidr-optional
Browse files Browse the repository at this point in the history
make additional cidr optional
  • Loading branch information
darox authored Feb 23, 2024
2 parents ba21f53 + d11e1b1 commit 98d870d
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 0 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ This module depends on the following external tools:
| Name | Description | Type | Default | Required |
|------|-------------|------|---------|:--------:|
| <a name="input_additional_ip_range_pods"></a> [additional\_ip\_range\_pods](#input\_additional\_ip\_range\_pods) | additional\_ip\_range\_pods | `list(any)` | `[]` | no |
| <a name="input_deletion_protection"></a> [deletion\_protection](#input\_deletion\_protection) | Whether to enable deletion protection for the GKE cluster. | `bool` | `false` | no |
| <a name="input_enable_workload_identity"></a> [enable\_workload\_identity](#input\_enable\_workload\_identity) | Whether to enable workload identity. If enabled, 'netd' is deployed by GKE. | `bool` | `false` | no |
| <a name="input_kubernetes_version"></a> [kubernetes\_version](#input\_kubernetes\_version) | The version of Kubernetes/GKE to use. | `string` | n/a | yes |
| <a name="input_name"></a> [name](#input\_name) | The name of the GKE cluster. | `string` | n/a | yes |
Expand Down
1 change: 1 addition & 0 deletions main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ module "main" {
min_count = node_pool.min_nodes
name = key
preemptible = node_pool.preemptible
pod_range = node_pool.pod_range
}
]

Expand Down
8 changes: 8 additions & 0 deletions variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -94,3 +94,11 @@ variable "vpc_id" {
description = "The ID of the VPC in which to create the GKE cluster."
type = string
}

variable "deletion_protection" {
description = "Whether to enable deletion protection for the GKE cluster."
type = bool
default = false
}


0 comments on commit 98d870d

Please sign in to comment.