Skip to content

Commit e92a99a

Browse files
committed
Start v6.0 upgrade guide
1 parent 94496f9 commit e92a99a

File tree

1 file changed

+32
-0
lines changed

1 file changed

+32
-0
lines changed

docs/upgrading_to_v6.0.md

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
# Upgrading to v6.0
2+
3+
The v6.0 release of *kubernetes-engine* is a backwards incompatible
4+
release.
5+
6+
## Migration Instructions
7+
8+
### Master Authorized Networks
9+
Previously, setting up master authorized networks required setting a nested config within `master_authorized_networks_config`.
10+
Now, to set up master authorized networks you can simply pass a list of authorized networks.
11+
12+
```diff
13+
module "kubernetes_engine_private_cluster" {
14+
source = "terraform-google-modules/kubernetes-engine/google"
15+
- version = "~> 5.0"
16+
+ version = "~> 6.0"
17+
18+
- master_authorized_networks_config = [
19+
+ master_authorized_networks = [
20+
{
21+
- cidr_blocks = [
22+
- {
23+
- cidr_block = data.google_compute_subnetwork.subnetwork.ip_cidr_range
24+
- display_name = "VPC"
25+
- },
26+
- ]
27+
+ cidr_block = data.google_compute_subnetwork.subnetwork.ip_cidr_range
28+
+ display_name = "VPC"
29+
},
30+
]
31+
}
32+
```

0 commit comments

Comments
 (0)