Skip to content

Commit

Permalink
temporary fix for missing 1.26 image
Browse files Browse the repository at this point in the history
  • Loading branch information
streamnsight committed May 1, 2023
1 parent 7753d66 commit ee52621
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion add_on_k8s_autoscaler.tf
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
#

locals {
cluster_autoscaler_supported_k8s_versions = { "1.21" = "1.21.1-3", "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
cluster_autoscaler_supported_k8s_versions = { "1.23" = "1.23.0-4", "1.24" = "1.24.0-5", "1.25" = "1.25.0-6", "1.26" = "1.25.0-6" } # There's no API to get that list. Need to be updated manually
cluster_autoscaler_image_version = lookup(local.cluster_autoscaler_supported_k8s_versions, local.k8s_major_minor_version, reverse(values(local.cluster_autoscaler_supported_k8s_versions))[0])
cluster_autoscaler_image = "iad.ocir.io/oracle/oci-cluster-autoscaler:${local.cluster_autoscaler_image_version}"
cluster_autoscaler_log_level_verbosity = 4
Expand Down
2 changes: 2 additions & 0 deletions tests/tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@
set -e
clean_up () {
ARG=$?
log INFO "Debug info..."
kubectl get pods -A
log INFO "Cleaning up..."
destroy_stack || exit 1
exit $ARG
Expand Down

0 comments on commit ee52621

Please sign in to comment.