From 769661e9db4272f8503714767003f84457f469cf Mon Sep 17 00:00:00 2001 From: Philip Laine Date: Mon, 28 Aug 2023 11:00:13 +0200 Subject: [PATCH] Set OS upgrade explicitly to Unmanaged (#1023) --- CHANGELOG.md | 4 ++++ modules/azure/aks/aks.tf | 2 ++ 2 files changed, 6 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index baf42557b..73578a77a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -10,6 +10,10 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), - [#1024](https://github.com/XenitAB/terraform-modules/pull/1024) Update provider versions. +### Added + +- [#1023](https://github.com/XenitAB/terraform-modules/pull/1023) Set OS upgrade explicitly to Unmanaged. + ## 2023.08.1 ### Added diff --git a/modules/azure/aks/aks.tf b/modules/azure/aks/aks.tf index 5561cac68..1a1e3ba53 100644 --- a/modules/azure/aks/aks.tf +++ b/modules/azure/aks/aks.tf @@ -32,6 +32,8 @@ resource "azurerm_kubernetes_cluster" "this" { oidc_issuer_enabled = true workload_identity_enabled = true + node_os_channel_upgrade = "Unmanaged" + auto_scaler_profile { # Pods should not depend on local storage like EmptyDir or HostPath skip_nodes_with_local_storage = false