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) {
8282 ID : ptr .To (openStackCluster .Status .Network .ID ),
8383 },
8484 SecurityGroups : []infrav1.SecurityGroupParam {
85+ {
86+ ID : ptr .To (openStackCluster .Status .WorkerSecurityGroup .ID ),
87+ },
8588 {
8689 ID : ptr .To (extraSecurityGroupUUID ),
8790 },
@@ -189,8 +192,11 @@ func TestOpenStackMachineSpecToOpenStackServerSpec(t *testing.T) {
189192 want : & infrav1alpha1.OpenStackServerSpec {
190193 IdentityRef : identityRef ,
191194 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+ },
194200 }},
195201 Tags : tags ,
196202 UserDataRef : userData ,
Original file line number Diff line number Diff line change 55- [ Configuration] ( clusteropenstack/configuration.md )
66- [ Topics] ( ./topics/index.md )
77 - [ external cloud provider] ( ./topics/external-cloud-provider.md )
8+ - [ hosted control plane] ( ./topics/hosted-control-plane.md )
89 - [ move from bootstrap] ( ./topics/mover.md )
910 - [ trouble shooting] ( ./topics/troubleshooting.md )
1011 - [ CRD Changes] ( ./topics/crd-changes/index.md )
You can’t perform that action at this time.
0 commit comments