Skip to content

Commit

Permalink
update infrastructure template for test
Browse files Browse the repository at this point in the history
Signed-off-by: hanenMizouni <[email protected]>
  • Loading branch information
outscale-hmi committed Dec 11, 2024
1 parent 5d61a4f commit 4f7ff49
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 6 deletions.
6 changes: 6 additions & 0 deletions capm.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -349,6 +349,9 @@ spec:
securityGroups:
items:
properties:
deleteDefaultOutboundRule:
description: Should the default allow all outbound rule be deleted
type: boolean
description:
description: The description of the security group
type: string
Expand Down Expand Up @@ -384,6 +387,9 @@ spec:
resourceId:
description: The security group rule id
type: string
targetSecurityGroupName:
description: The name of the security group to use as target
type: string
toPortRange:
description: The end of the port range
format: int32
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -207,6 +207,9 @@ spec:
securityGroups:
items:
properties:
deleteDefaultOutboundRule:
description: Should the default allow all outbound rule be deleted
type: boolean
description:
description: The description of the security group
type: string
Expand Down Expand Up @@ -239,6 +242,9 @@ spec:
resourceId:
description: The security group rule id
type: string
targetSecurityGroupName:
description: The name of the security group to use as target
type: string
toPortRange:
description: The end of the port range
format: int32
Expand Down
12 changes: 6 additions & 6 deletions testenv/osccluster_controller_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -1017,8 +1017,8 @@ var _ = Describe("Outscale Cluster Reconciler", func() {
},
SecurityGroups: []*infrastructurev1beta1.OscSecurityGroup{
{
Name: "cluster-api-securitygroups-kw",
Description: "Security Group with cluster-api",
Name: "cluster-api-securitygroups-kw",
Description: "Security Group with cluster-api",
DeleteDefaultOutboundRule: false,
SecurityGroupRules: []infrastructurev1beta1.OscSecurityGroupRule{
{
Expand Down Expand Up @@ -1056,8 +1056,8 @@ var _ = Describe("Outscale Cluster Reconciler", func() {
},
},
{
Name: "cluster-api-securitygroups-kcp",
Description: "Security Group with cluster-api",
Name: "cluster-api-securitygroups-kcp",
Description: "Security Group with cluster-api",
DeleteDefaultOutboundRule: false,
SecurityGroupRules: []infrastructurev1beta1.OscSecurityGroupRule{
{
Expand Down Expand Up @@ -1095,8 +1095,8 @@ var _ = Describe("Outscale Cluster Reconciler", func() {
},
},
{
Name: "cluster-api-securitygroup-lb",
Description: "Security Group with cluster-api",
Name: "cluster-api-securitygroup-lb",
Description: "Security Group with cluster-api",
DeleteDefaultOutboundRule: false,
SecurityGroupRules: []infrastructurev1beta1.OscSecurityGroupRule{
{
Expand Down

0 comments on commit 4f7ff49

Please sign in to comment.