Skip to content

Commit 3db8840

Browse files
authored
Merge pull request #7 from bennu/feat/k8s-1.24
chore: changed calico chart repository, upgraded to v3.25.0
2 parents 47a709f + 05a4f92 commit 3db8840

File tree

3 files changed

+4
-7
lines changed

3 files changed

+4
-7
lines changed

bootstrap.tf

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -286,9 +286,6 @@ resource "helm_release" "cilium" {
286286
}
287287
ipam = {
288288
mode = var.cilium_ipam
289-
operator = {
290-
clusterPoolIPv4PodCIDRList = [var.cluster_cidr]
291-
}
292289
}
293290
ipv6 = {
294291
enabled = false
@@ -317,7 +314,7 @@ resource "helm_release" "calico" {
317314
count = var.install_calico ? 1 : 0
318315
depends_on = [local_sensitive_file.kube_cluster_yaml, rke_cluster.cluster]
319316
name = "calico"
320-
repository = "https://projectcalico.docs.tigera.io/charts"
317+
repository = "https://docs.tigera.io/calico/charts"
321318
chart = "tigera-operator"
322319
version = local.calico_version
323320
namespace = "tigera-operator"
@@ -405,7 +402,7 @@ resource "null_resource" "node_cleanup" {
405402
provisioner "remote-exec" {
406403
when = destroy
407404
inline = [
408-
"chmod +x /tmp/cleanup.bash && /tmp/cleanup.bash -f -i", "(sleep 5;reboot) &"
405+
"chmod +x /tmp/cleanup.bash && /tmp/cleanup.bash -f -i", "shutdown -r"
409406
]
410407
}
411408
}

local.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ locals {
3838
sans = compact(concat(var.sans, var.api_server_lb))
3939
# versions
4040
cilium_version = "1.12.5"
41-
calico_version = "3.24.1"
41+
calico_version = "3.25.0"
4242
metrics_server_version = "3.8.3"
4343
argocd_version = "5.5.24"
4444
kubernetes_version = var.kubernetes_version != "" ? var.kubernetes_version : local.rke_version

vars.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ variable "cilium_debug" {
2929
}
3030
variable "cilium_ipam" {
3131
description = "IPAM method to use for kubernetes cluster"
32-
default = "cluster-pool"
32+
default = "kubernetes"
3333
}
3434
variable "cilium_monitor" {
3535
description = "This option enables coalescing of tracing events"

0 commit comments

Comments
 (0)