Skip to content

Commit

Permalink
AKS 1.24 is deprecated, update to latest 1.25 patch (#2792)
Browse files Browse the repository at this point in the history
  • Loading branch information
curtbushko committed Aug 18, 2023
1 parent 48184c6 commit 9f089ec
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion charts/consul/test/terraform/aks/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ resource "azurerm_kubernetes_cluster" "default" {
location = azurerm_resource_group.default[count.index].location
resource_group_name = azurerm_resource_group.default[count.index].name
dns_prefix = "consul-k8s-${random_id.suffix[count.index].dec}"
kubernetes_version = "1.24.10"
kubernetes_version = var.kubernetes_version
role_based_access_control_enabled = true

// We're setting the network plugin and other network properties explicitly
Expand Down
5 changes: 5 additions & 0 deletions charts/consul/test/terraform/aks/variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,11 @@ variable "location" {
description = "The location to launch this AKS cluster in."
}

variable "kubernetes_version" {
default = "1.25.17"
description = "Kubernetes version supported on AKS (1.25.17 Released August 2nd, 2023)"
}

variable "client_id" {
default = ""
description = "The client ID of the service principal to be used by Kubernetes when creating Azure resources like load balancers."
Expand Down

0 comments on commit 9f089ec

Please sign in to comment.