Skip to content

Commit

Permalink
fix: cilium typo
Browse files Browse the repository at this point in the history
  • Loading branch information
kvendingoldo committed Sep 6, 2023
1 parent 5e2e06a commit ea96bf3
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ No modules.
|------|-------------|------|---------|:--------:|
| <a name="input_cluster_ipv4_range"></a> [cluster\_ipv4\_range](#input\_cluster\_ipv4\_range) | CIDR block. IP range for allocating pod addresses. It should not overlap with<br>any subnet in the network the K8S cluster located in. Static routes will<br>be set up for this CIDR blocks in node subnets | `string` | `null` | no |
| <a name="input_cluster_ipv6_range"></a> [cluster\_ipv6\_range](#input\_cluster\_ipv6\_range) | Identical to cluster\_ipv4\_range but for IPv6 protocol | `string` | `null` | no |
| <a name="input_cni_type"></a> [cni\_type](#input\_cni\_type) | Type of K8S CNI which will be used for the cluster | `string` | `"cillium"` | no |
| <a name="input_cni_type"></a> [cni\_type](#input\_cni\_type) | Type of K8S CNI which will be used for the cluster | `string` | `"calico"` | no |
| <a name="input_description"></a> [description](#input\_description) | K8S cluster description | `string` | `""` | no |
| <a name="input_folder_id"></a> [folder\_id](#input\_folder\_id) | Folder ID | `string` | `null` | no |
| <a name="input_generate_default_ssh_key"></a> [generate\_default\_ssh\_key](#input\_generate\_default\_ssh\_key) | If true, SSH key for node groups will be generated | `bool` | `true` | no |
Expand Down
2 changes: 1 addition & 1 deletion main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ resource "yandex_kubernetes_cluster" "main" {
service_ipv6_range = var.service_ipv6_range

dynamic "network_implementation" {
for_each = var.cni_type == "cillium" ? [1] : []
for_each = var.cni_type == "cilium" ? [1] : []
content {
cilium {}
}
Expand Down
2 changes: 1 addition & 1 deletion variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ variable "service_ipv6_range" {
variable "cni_type" {
description = "Type of K8S CNI which will be used for the cluster"
type = string
default = "cillium"
default = "calico"
}

#
Expand Down

0 comments on commit ea96bf3

Please sign in to comment.