Skip to content

Commit

Permalink
Bump k8s version in exmaples to pass e2e tests (#422)
Browse files Browse the repository at this point in the history
  • Loading branch information
jiaweitao001 authored Aug 10, 2023
1 parent 0f07682 commit 2983d19
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 4 deletions.
5 changes: 4 additions & 1 deletion examples/startup/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ module "aks" {

prefix = random_id.name.hex
resource_group_name = local.resource_group.name
kubernetes_version = "1.24" # don't specify the patch version!
kubernetes_version = "1.26" # don't specify the patch version!
automatic_channel_upgrade = "patch"
agents_availability_zones = ["1", "2"]
agents_count = null
Expand Down Expand Up @@ -107,4 +107,7 @@ module "aks" {
agents_tags = {
"Agent" : "agentTag"
}
depends_on = [
azurerm_subnet.test,
]
}
2 changes: 1 addition & 1 deletion examples/startup/variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -25,4 +25,4 @@ variable "managed_identity_principal_id" {
variable "resource_group_name" {
type = string
default = null
}
}
4 changes: 2 additions & 2 deletions examples/with_acr/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ module "aks" {

prefix = "prefix-${random_id.prefix.hex}"
resource_group_name = local.resource_group.name
kubernetes_version = "1.24" # don't specify the patch version!
kubernetes_version = "1.26" # don't specify the patch version!
automatic_channel_upgrade = "patch"
attached_acr_id_map = {
example = azurerm_container_registry.example.id
Expand All @@ -67,4 +67,4 @@ module "aks" {
sku_tier = "Standard"
rbac_aad = false
vnet_subnet_id = azurerm_subnet.test.id
}
}

0 comments on commit 2983d19

Please sign in to comment.