From ea96bf3c43a70f9d194e87144a2d0f31b6c174e9 Mon Sep 17 00:00:00 2001 From: Alexander Sharov Date: Wed, 6 Sep 2023 23:39:38 +0200 Subject: [PATCH] fix: cilium typo --- README.md | 2 +- main.tf | 2 +- variables.tf | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index f7dfdd5..eaf7781 100644 --- a/README.md +++ b/README.md @@ -44,7 +44,7 @@ No modules. |------|-------------|------|---------|:--------:| | [cluster\_ipv4\_range](#input\_cluster\_ipv4\_range) | CIDR block. IP range for allocating pod addresses. It should not overlap with
any subnet in the network the K8S cluster located in. Static routes will
be set up for this CIDR blocks in node subnets | `string` | `null` | no | | [cluster\_ipv6\_range](#input\_cluster\_ipv6\_range) | Identical to cluster\_ipv4\_range but for IPv6 protocol | `string` | `null` | no | -| [cni\_type](#input\_cni\_type) | Type of K8S CNI which will be used for the cluster | `string` | `"cillium"` | no | +| [cni\_type](#input\_cni\_type) | Type of K8S CNI which will be used for the cluster | `string` | `"calico"` | no | | [description](#input\_description) | K8S cluster description | `string` | `""` | no | | [folder\_id](#input\_folder\_id) | Folder ID | `string` | `null` | no | | [generate\_default\_ssh\_key](#input\_generate\_default\_ssh\_key) | If true, SSH key for node groups will be generated | `bool` | `true` | no | diff --git a/main.tf b/main.tf index ee05e14..4672d62 100644 --- a/main.tf +++ b/main.tf @@ -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 {} } diff --git a/variables.tf b/variables.tf index d2561b9..68cb86f 100644 --- a/variables.tf +++ b/variables.tf @@ -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" } #