Skip to content

Commit

Permalink
included support for one cluster autoscaler 1.26
Browse files Browse the repository at this point in the history
  • Loading branch information
junior authored May 25, 2023
1 parent 1cf79a6 commit 9cf7285
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions modules/oke-cluster-autoscaler/variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
variable "cluster_autoscaler_supported_k8s_versions" {
type = map(string)

default = { "1.22" = "1.22.2-4", "1.23" = "1.23.0-4", "1.24" = "1.24.0-5", "1.25" = "1.25.0-6" } # There's no API to get that list. Need to be updated manually
default = { "1.23" = "1.23.0-4", "1.24" = "1.24.0-5", "1.25" = "1.25.0-6", "1.26" = "1.26.2-7" } # There's no API to get that list. Need to be updated manually
description = "Supported Kubernetes versions for OKE cluster autoscaler"
}
variable "custom_cluster_autoscaler_image" {
Expand Down Expand Up @@ -61,4 +61,4 @@ variable "region" {}
# Get OKE options
locals {
node_pool_k8s_latest_version = reverse(sort(data.oci_containerengine_node_pool_option.node_pool.kubernetes_versions))[0]
}
}

0 comments on commit 9cf7285

Please sign in to comment.