Skip to content

Commit 2fb3ca8

Browse files
authored
Updates ParentRef Status Conditions (#495)
* Updates ParentRef Status Conditions Signed-off-by: danehans <[email protected]> * Resolved @skriss 10-11-22 Feedback Signed-off-by: danehans <[email protected]> Signed-off-by: danehans <[email protected]>
1 parent 5d5c28e commit 2fb3ca8

11 files changed

+12
-71
lines changed

internal/gatewayapi/testdata/httproute-with-header-filter-duplicate-add-multiple-filters.out.yaml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -73,10 +73,6 @@ httpRoutes:
7373
status: "True"
7474
reason: Accepted
7575
message: Route is accepted
76-
- type: ResolvedRefs
77-
status: "False"
78-
reason: UnsupportedValue
79-
message: "RequestHeaderModifier Filter already configures request header: add-header-1 to be added, ignoring second entry"
8076
xdsIR:
8177
envoy-gateway-gateway-1:
8278
http:

internal/gatewayapi/testdata/httproute-with-header-filter-duplicate-adds.out.yaml

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -83,11 +83,6 @@ httpRoutes:
8383
status: "True"
8484
reason: Accepted
8585
message: Route is accepted
86-
- type: ResolvedRefs
87-
status: "False"
88-
reason: UnsupportedValue
89-
# Currently only one invalid value status will be set. If there are multiple, then only the latest is displayed until that issue is resolved.
90-
message: "RequestHeaderModifier Filter already configures request header: set-header-4 to be added/set, ignoring second entry"
9186
xdsIR:
9287
envoy-gateway-gateway-1:
9388
http:

internal/gatewayapi/testdata/httproute-with-header-filter-duplicate-remove-multiple-filters.out.yaml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -69,10 +69,6 @@ httpRoutes:
6969
status: "True"
7070
reason: Accepted
7171
message: Route is accepted
72-
- type: ResolvedRefs
73-
status: "False"
74-
reason: UnsupportedValue
75-
message: "RequestHeaderModifier Filter already configures request header: rem-header-1 to be removed, ignoring second entry"
7672
xdsIR:
7773
envoy-gateway-gateway-1:
7874
http:

internal/gatewayapi/testdata/httproute-with-header-filter-duplicate-removes.out.yaml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -64,10 +64,6 @@ httpRoutes:
6464
status: "True"
6565
reason: Accepted
6666
message: Route is accepted
67-
- type: ResolvedRefs
68-
status: "False"
69-
reason: UnsupportedValue
70-
message: "RequestHeaderModifier Filter already configures request header: some-header-1 to be removed, ignoring second entry"
7167
xdsIR:
7268
envoy-gateway-gateway-1:
7369
http:

internal/gatewayapi/testdata/httproute-with-header-filter-empty-headers.out.yaml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -69,10 +69,6 @@ httpRoutes:
6969
status: "True"
7070
reason: Accepted
7171
message: Route is accepted
72-
- type: ResolvedRefs
73-
status: "False"
74-
reason: UnsupportedValue
75-
message: "RequestHeaderModifier Filter cannot set a header with an empty name"
7672
xdsIR:
7773
envoy-gateway-gateway-1:
7874
http:

internal/gatewayapi/testdata/httproute-with-header-filter-invalid-headers.out.yaml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -69,10 +69,6 @@ httpRoutes:
6969
status: "True"
7070
reason: Accepted
7171
message: Route is accepted
72-
- type: ResolvedRefs
73-
status: "False"
74-
reason: UnsupportedValue
75-
message: "RequestHeaderModifier Filter cannot set headers with a '/' or ':' character in them. Header: 'example:1'"
7672
xdsIR:
7773
envoy-gateway-gateway-1:
7874
http:

internal/gatewayapi/testdata/httproute-with-header-filter-no-valid-headers.out.yaml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -64,10 +64,6 @@ httpRoutes:
6464
status: "True"
6565
reason: Accepted
6666
message: Route is accepted
67-
- type: ResolvedRefs
68-
status: "False"
69-
reason: UnsupportedValue
70-
message: "RequestHeaderModifier Filter did not provide valid configuration to add/set/remove any headers"
7167
xdsIR:
7268
envoy-gateway-gateway-1:
7369
http:

internal/gatewayapi/testdata/httproute-with-redirect-filter-invalid-filter-type.out.yaml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -63,10 +63,6 @@ httpRoutes:
6363
status: "True"
6464
reason: Accepted
6565
message: Route is accepted
66-
- type: ResolvedRefs
67-
status: "False"
68-
reason: UnsupportedValue
69-
message: "Unknown custom filter type: UnsupportedType"
7066
xdsIR:
7167
envoy-gateway-gateway-1:
7268
http:

internal/gatewayapi/testdata/httproute-with-redirect-filter-invalid-scheme.out.yaml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -63,10 +63,6 @@ httpRoutes:
6363
status: "True"
6464
reason: Accepted
6565
message: Route is accepted
66-
- type: ResolvedRefs
67-
status: "False"
68-
reason: UnsupportedValue
69-
message: "Scheme: unknown is unsupported, only 'https' and 'http' are supported"
7066
xdsIR:
7167
envoy-gateway-gateway-1:
7268
http:

internal/gatewayapi/testdata/httproute-with-redirect-filter-invalid-status.out.yaml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -63,10 +63,6 @@ httpRoutes:
6363
status: "True"
6464
reason: Accepted
6565
message: Route is accepted
66-
- type: ResolvedRefs
67-
status: "False"
68-
reason: UnsupportedValue
69-
message: "Status code 666 is invalid, only 302 and 301 are supported"
7066
xdsIR:
7167
envoy-gateway-gateway-1:
7268
http:

0 commit comments

Comments
 (0)