From 30851b96438619c6dbff2340f99706a568f305a2 Mon Sep 17 00:00:00 2001 From: Michael Nahkies Date: Wed, 28 Dec 2022 10:49:00 +0000 Subject: [PATCH] docs: add section on changes from #1495 --- docs/upgrading_to_v25.0.md | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/docs/upgrading_to_v25.0.md b/docs/upgrading_to_v25.0.md index 8a4ab60672..d8ba59fa44 100644 --- a/docs/upgrading_to_v25.0.md +++ b/docs/upgrading_to_v25.0.md @@ -17,6 +17,26 @@ release. } ``` +### Use the created service account when creating autopilot clusters + +When `create_service_account` is `true` pass the created service account to the `cluster_autoscaling` -> `auto_provisioning_defaults` block +for the `beta-autopilot-private-cluster` / `beta-autopilot-public-cluster` modules. + +This will mean that the `Nodes` will use the created service account, where previously the default service account was erronously used instead. + +To opt out, set `create_service_account` to `false` + +```diff + module "gke" { +- source = "terraform-google-modules/kubernetes-engine" +- version = "~> 24.0" ++ source = "terraform-google-modules/kubernetes-engine" ++ version = "~> 25.0" +... ++ create_service_account = false +} +``` + ### Minimum Google Provider versions Minimum Google Provider versions have been updated to `4.44.0`.