Skip to content

Commit dfda1fa

Browse files
committed
Document removal of SecurityGroupParam in v1alpha7
1 parent 9297dbc commit dfda1fa

File tree

1 file changed

+44
-4
lines changed

1 file changed

+44
-4
lines changed

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

Lines changed: 44 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,12 @@
55
- [v1alpha6 compared to v1alpha7](#v1alpha6-compared-to-v1alpha7)
66
- [Migration](#migration)
77
- [API Changes](#api-changes)
8-
- [`OpenStackCluster`](#openstackcluster)
98
- [`OpenStackMachine`](#openstackmachine)
9+
- [⚠️ Removal of Networks](#-removal-of-networks)
1010
- [Removal of Subnet](#removal-of-subnet)
11+
- [Change to securityGroups](#change-to-securitygroups)
12+
- [Change to ports.securityGroupFilters](#change-to-portssecuritygroupfilters)
13+
- [Removal of Port SecurityGroups](#removal-of-port-securitygroups)
1114

1215
<!-- END doctoc generated TOC please keep comment here to allow auto update -->
1316

@@ -112,6 +115,43 @@ to set the `accessIPv4` field on Nova servers. This feature was not widely
112115
used, difficult to use, and could not be extended to support IPv6. It is
113116
removed without replacement.
114117

118+
#### Change to securityGroups
119+
120+
`securityGroups` has been simplified by the removal of a separate filter parameter. It was previously:
121+
```yaml
122+
securityGroups:
123+
uuid: ...
124+
name: ...
125+
filter:
126+
description: ...
127+
tags: ...
128+
...
129+
```
130+
It becomes:
131+
```yaml
132+
securityGroups:
133+
id: ...
134+
name: ...
135+
description: ...
136+
tags: ...
137+
...
138+
```
139+
140+
Note that in this change, the `uuid` field has become `id`. So:
141+
```yaml
142+
securityGroups:
143+
- uuid: 4ea83db6-2760-41a9-b25a-e625a1161ed0
144+
```
145+
becomes:
146+
```yaml
147+
securityGroups:
148+
- id: 4ea83db6-2760-41a9-b25a-e625a1161ed0
149+
```
150+
151+
#### Change to ports.securityGroupFilters
152+
153+
The same change is made to `securityGroupFilters` in `ports` as is [made to `securityGroups` in the machine spec](#change-to-securitygroups).
154+
115155
#### Removal of Port SecurityGroups
116156

117157
The Port field of the OpenStackMachine spec previously contained both `securityGroups` and `securityGroupFilters`.
@@ -128,7 +168,7 @@ securityGroups:
128168
- 4a131d3e-9939-4a6b-adea-788a2e89fcd8
129169
# securityGroupFilters are available in both v1alpha6 and v1alpha7
130170
securityGroupFilters:
131-
- uuid: 60ed83f1-8886-41c6-a1c7-fcfbdf3f04c2
132-
- uuid: 0ddd14d9-5c33-4734-b7d0-ac4fdf35c2d9
133-
- uuid: 4a131d3e-9939-4a6b-adea-788a2e89fcd8
171+
- id: 60ed83f1-8886-41c6-a1c7-fcfbdf3f04c2
172+
- id: 0ddd14d9-5c33-4734-b7d0-ac4fdf35c2d9
173+
- id: 4a131d3e-9939-4a6b-adea-788a2e89fcd8
134174
```

0 commit comments

Comments
 (0)