File tree Expand file tree Collapse file tree 1 file changed +32
-0
lines changed Expand file tree Collapse file tree 1 file changed +32
-0
lines changed Original file line number Diff line number Diff line change
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
+ ```
You can’t perform that action at this time.
0 commit comments