Skip to content

Commit 30851b9

Browse files
committed
docs: add section on changes from terraform-google-modules#1495
1 parent 63414d1 commit 30851b9

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

docs/upgrading_to_v25.0.md

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,26 @@ release.
1717
}
1818
```
1919

20+
### Use the created service account when creating autopilot clusters
21+
22+
When `create_service_account` is `true` pass the created service account to the `cluster_autoscaling` -> `auto_provisioning_defaults` block
23+
for the `beta-autopilot-private-cluster` / `beta-autopilot-public-cluster` modules.
24+
25+
This will mean that the `Nodes` will use the created service account, where previously the default service account was erronously used instead.
26+
27+
To opt out, set `create_service_account` to `false`
28+
29+
```diff
30+
module "gke" {
31+
- source = "terraform-google-modules/kubernetes-engine"
32+
- version = "~> 24.0"
33+
+ source = "terraform-google-modules/kubernetes-engine"
34+
+ version = "~> 25.0"
35+
...
36+
+ create_service_account = false
37+
}
38+
```
39+
2040
### Minimum Google Provider versions
2141

2242
Minimum Google Provider versions have been updated to `4.44.0`.

0 commit comments

Comments
 (0)