Skip to content

Commit

Permalink
Update automated tests
Browse files Browse the repository at this point in the history
  • Loading branch information
haywoodsh committed Mar 30, 2022
1 parent 65b49da commit dff15be
Show file tree
Hide file tree
Showing 7 changed files with 0 additions and 11 deletions.
4 changes: 0 additions & 4 deletions pkg/apis/configuration/v1/types.go
Original file line number Diff line number Diff line change
Expand Up @@ -381,7 +381,6 @@ type AccessControl struct {
}

// RateLimit defines a rate limit policy.
// policy status: preview
type RateLimit struct {
Rate string `json:"rate"`
Key string `json:"key"`
Expand All @@ -395,23 +394,20 @@ type RateLimit struct {
}

// JWTAuth holds JWT authentication configuration.
// policy status: preview
type JWTAuth struct {
Realm string `json:"realm"`
Secret string `json:"secret"`
Token string `json:"token"`
}

// IngressMTLS defines an Ingress MTLS policy.
// policy status: preview
type IngressMTLS struct {
ClientCertSecret string `json:"clientCertSecret"`
VerifyClient string `json:"verifyClient"`
VerifyDepth *int `json:"verifyDepth"`
}

// EgressMTLS defines an Egress MTLS policy.
// policy status: preview
type EgressMTLS struct {
TLSSecret string `json:"tlsSecret"`
VerifyServer bool `json:"verifyServer"`
Expand Down
2 changes: 0 additions & 2 deletions tests/suite/test_ingress_mtls.py
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,6 @@ def teardown_policy(kube_apis, test_namespace, tls_secret, pol_name, mtls_secret
"type": "complete",
"extra_args": [
f"-enable-leader-election=false",
f"-enable-preview-policies",
],
},
{
Expand Down Expand Up @@ -246,7 +245,6 @@ def test_ingress_mtls_policy_cert(
"type": "complete",
"extra_args": [
f"-enable-leader-election=false",
f"-enable-preview-policies",
],
},
{"example": "virtual-server-route"},
Expand Down
1 change: 0 additions & 1 deletion tests/suite/test_jwt_policies.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,6 @@
"type": "complete",
"extra_args": [
f"-enable-custom-resources",
f"-enable-preview-policies",
f"-enable-leader-election=false",
],
},
Expand Down
1 change: 0 additions & 1 deletion tests/suite/test_jwt_policies_vsr.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,6 @@
"type": "complete",
"extra_args": [
f"-enable-custom-resources",
f"-enable-preview-policies",
f"-enable-leader-election=false",
],
},
Expand Down
1 change: 0 additions & 1 deletion tests/suite/test_policy_ingress_class.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,6 @@
"type": "complete",
"extra_args": [
f"-enable-custom-resources",
f"-enable-preview-policies",
f"-enable-leader-election=false",
],
},
Expand Down
1 change: 0 additions & 1 deletion tests/suite/test_rl_policies.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,6 @@
"type": "complete",
"extra_args": [
f"-enable-custom-resources",
f"-enable-preview-policies",
f"-enable-leader-election=false",
],
},
Expand Down
1 change: 0 additions & 1 deletion tests/suite/test_rl_policies_vsr.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,6 @@
"type": "complete",
"extra_args": [
f"-enable-custom-resources",
f"-enable-preview-policies",
f"-enable-leader-election=false",
],
},
Expand Down

0 comments on commit dff15be

Please sign in to comment.