Skip to content

Commit 802654e

Browse files
committed
Document multiple subnets in status.network
1 parent 6912766 commit 802654e

File tree

1 file changed

+26
-1
lines changed

1 file changed

+26
-1
lines changed

docs/book/src/topics/crd-changes/v1alpha6-to-v1alpha7.md

Lines changed: 26 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -268,4 +268,29 @@ status:
268268
id: 660d628e-cbcb-4c10-9910-e2e6493643c7
269269
name: my-api-server-loadbalancer
270270
...
271-
```
271+
```
272+
273+
#### status.network.subnet becomes status.network.subnets
274+
275+
```yaml
276+
status:
277+
network:
278+
id: 756f59c0-2a9b-495e-9bb1-951762523d2d
279+
name: my-cluster-network
280+
subnet:
281+
id: 0e0c3d69-040a-4b51-a3f5-0f5d010b36f4
282+
name: my-cluster-subnet
283+
cidr: 192.168.100.0/24
284+
```
285+
becomes
286+
```yaml
287+
network:
288+
id: 756f59c0-2a9b-495e-9bb1-951762523d2d
289+
name: my-cluster-network
290+
subnets:
291+
- id: 0e0c3d69-040a-4b51-a3f5-0f5d010b36f4
292+
name: my-cluster-subnet
293+
cidr: 192.168.100.0/24
294+
```
295+
296+
Nothing will currently create more than a single subnet, but there may be multiple subnets in the future. Similarly, code should no longer assume that the CIDR is an IPv4 CIDR, although nothing will currently create anything other than an IPv4 CIDR.

0 commit comments

Comments
 (0)