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:
datosh 2022-04-26 17:09:03 +02:00 committed by GitHub
parent 51068abc27
commit 2a766a3ab5
14 changed files with 263 additions and 47 deletions

View file

@ -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,
},
},
}