mirror of
https://github.com/edgelesssys/constellation.git
synced 2025-06-29 08:27:21 -04:00
Feat/conformity test (#79)
* Added files required to request conformance with kubernetes * Extended firewall implementation to allow port ranges * Added default nodeport range to vpc network config
This commit is contained in:
parent
51068abc27
commit
2a766a3ab5
14 changed files with 263 additions and 47 deletions
|
@ -19,13 +19,13 @@ func TestCreateSecurityGroup(t *testing.T) {
|
|||
Description: "perm1",
|
||||
Protocol: "TCP",
|
||||
IPRange: "192.0.2.0/24",
|
||||
Port: 22,
|
||||
FromPort: 22,
|
||||
},
|
||||
{
|
||||
Description: "perm2",
|
||||
Protocol: "UDP",
|
||||
IPRange: "192.0.2.0/24",
|
||||
Port: 4433,
|
||||
FromPort: 4433,
|
||||
},
|
||||
},
|
||||
Outbound: cloudtypes.Firewall{
|
||||
|
@ -33,7 +33,7 @@ func TestCreateSecurityGroup(t *testing.T) {
|
|||
Description: "perm3",
|
||||
Protocol: "TCP",
|
||||
IPRange: "192.0.2.0/24",
|
||||
Port: 4040,
|
||||
FromPort: 4040,
|
||||
},
|
||||
},
|
||||
}
|
||||
|
@ -173,13 +173,13 @@ func TestAuthorizeSecurityGroup(t *testing.T) {
|
|||
Description: "perm1",
|
||||
Protocol: "TCP",
|
||||
IPRange: " 192.0.2.0/24",
|
||||
Port: 22,
|
||||
FromPort: 22,
|
||||
},
|
||||
{
|
||||
Description: "perm2",
|
||||
Protocol: "UDP",
|
||||
IPRange: "192.0.2.0/24",
|
||||
Port: 4433,
|
||||
FromPort: 4433,
|
||||
},
|
||||
},
|
||||
Outbound: cloudtypes.Firewall{
|
||||
|
@ -187,7 +187,7 @@ func TestAuthorizeSecurityGroup(t *testing.T) {
|
|||
Description: "perm3",
|
||||
Protocol: "TCP",
|
||||
IPRange: "192.0.2.0/24",
|
||||
Port: 4040,
|
||||
FromPort: 4040,
|
||||
},
|
||||
},
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue