File tree Expand file tree Collapse file tree 3 files changed +416
-2
lines changed Expand file tree Collapse file tree 3 files changed +416
-2
lines changed Original file line number Diff line number Diff line change @@ -82,6 +82,9 @@ func TestOpenStackMachineSpecToOpenStackServerSpec(t *testing.T) {
82
82
ID : ptr .To (openStackCluster .Status .Network .ID ),
83
83
},
84
84
SecurityGroups : []infrav1.SecurityGroupParam {
85
+ {
86
+ ID : ptr .To (openStackCluster .Status .WorkerSecurityGroup .ID ),
87
+ },
85
88
{
86
89
ID : ptr .To (extraSecurityGroupUUID ),
87
90
},
@@ -189,8 +192,11 @@ func TestOpenStackMachineSpecToOpenStackServerSpec(t *testing.T) {
189
192
want : & infrav1alpha1.OpenStackServerSpec {
190
193
IdentityRef : identityRef ,
191
194
Ports : []infrav1.PortOpts {{
192
- Network : & infrav1.NetworkParam {ID : ptr .To (networkUUID )},
193
- SecurityGroups : []infrav1.SecurityGroupParam {{ID : ptr .To (extraSecurityGroupUUID )}},
195
+ Network : & infrav1.NetworkParam {ID : ptr .To (networkUUID )},
196
+ SecurityGroups : []infrav1.SecurityGroupParam {
197
+ {ID : ptr .To (workerSecurityGroupUUID )},
198
+ {ID : ptr .To (extraSecurityGroupUUID )},
199
+ },
194
200
}},
195
201
Tags : tags ,
196
202
UserDataRef : userData ,
Original file line number Diff line number Diff line change 5
5
- [ Configuration] ( clusteropenstack/configuration.md )
6
6
- [ Topics] ( ./topics/index.md )
7
7
- [ external cloud provider] ( ./topics/external-cloud-provider.md )
8
+ - [ hosted control plane] ( ./topics/hosted-control-plane.md )
8
9
- [ move from bootstrap] ( ./topics/mover.md )
9
10
- [ trouble shooting] ( ./topics/troubleshooting.md )
10
11
- [ CRD Changes] ( ./topics/crd-changes/index.md )
You can’t perform that action at this time.
0 commit comments