TUN-6728: Verify http status code ingress rule

This commit is contained in:
Devin Carr
2022-09-01 14:20:22 -07:00
parent 902e5beb4f
commit f7a14d9200
3 changed files with 18 additions and 3 deletions

View File

@@ -208,6 +208,14 @@ ingress:
args: args{rawYAML: `
ingress:
- service: http_status:asdf
`},
wantErr: true,
},
{
name: "Invalid HTTP status code",
args: args{rawYAML: `
ingress:
- service: http_status:8080
`},
wantErr: true,
},