Skip to content

Commit

Permalink
printing name of the target when a policy fails to attach
Browse files Browse the repository at this point in the history
Signed-off-by: Viktor Sadovnikov <[email protected]>
  • Loading branch information
sadovnikov committed Jul 24, 2024
1 parent c6c2200 commit fddbca9
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 16 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,8 @@ backendTrafficPolicies:
namespace: envoy-gateway
conditions:
- lastTransitionTime: null
message: Unable to target HTTPRoute httproute-1, another BackendTrafficPolicy has already
attached to it
message: Unable to target HTTPRoute httproute-1, another BackendTrafficPolicy

Check failure on line 47 in internal/gatewayapi/testdata/backendtrafficpolicy-status-conditions.out.yaml

View workflow job for this annotation

GitHub Actions / lint

47:86 [trailing-spaces] trailing spaces

Check failure on line 47 in internal/gatewayapi/testdata/backendtrafficpolicy-status-conditions.out.yaml

View workflow job for this annotation

GitHub Actions / lint

47:86 [trailing-spaces] trailing spaces
has already attached to it
reason: Conflicted
status: "False"
type: Accepted
Expand Down Expand Up @@ -152,8 +152,8 @@ backendTrafficPolicies:
namespace: envoy-gateway
conditions:
- lastTransitionTime: null
message: Unable to target Gateway gateway-1, another BackendTrafficPolicy has already
attached to it
message: Unable to target Gateway gateway-1, another BackendTrafficPolicy

Check failure on line 155 in internal/gatewayapi/testdata/backendtrafficpolicy-status-conditions.out.yaml

View workflow job for this annotation

GitHub Actions / lint

155:82 [trailing-spaces] trailing spaces

Check failure on line 155 in internal/gatewayapi/testdata/backendtrafficpolicy-status-conditions.out.yaml

View workflow job for this annotation

GitHub Actions / lint

155:82 [trailing-spaces] trailing spaces
has already attached to it
reason: Conflicted
status: "False"
type: Accepted
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -75,8 +75,8 @@ clientTrafficPolicies:
sectionName: https
conditions:
- lastTransitionTime: null
message: Unable to target section of gateway-2, another ClientTrafficPolicy has already
attached to it
message: Unable to target section of gateway-2, another ClientTrafficPolicy

Check failure on line 78 in internal/gatewayapi/testdata/clienttrafficpolicy-status-conditions.out.yaml

View workflow job for this annotation

GitHub Actions / lint

78:84 [trailing-spaces] trailing spaces
has already attached to it
reason: Conflicted
status: "False"
type: Accepted
Expand Down Expand Up @@ -153,8 +153,8 @@ clientTrafficPolicies:
namespace: envoy-gateway
conditions:
- lastTransitionTime: null
message: Unable to target Gateway gateway-1, another ClientTrafficPolicy has already
attached to it
message: Unable to target Gateway gateway-1, another ClientTrafficPolicy
has already attached to it
reason: Conflicted
status: "False"
type: Accepted
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,8 @@ envoyExtensionPolicies:
namespace: envoy-gateway
conditions:
- lastTransitionTime: null
message: Unable to target HTTPRoute httproute-1, another EnvoyExtensionPolicy has already
attached to it
message: Unable to target HTTPRoute httproute-1, another EnvoyExtensionPolicy

Check failure on line 47 in internal/gatewayapi/testdata/envoyextensionpolicy-status-conditions.out.yaml

View workflow job for this annotation

GitHub Actions / lint

47:86 [trailing-spaces] trailing spaces

Check failure on line 47 in internal/gatewayapi/testdata/envoyextensionpolicy-status-conditions.out.yaml

View workflow job for this annotation

GitHub Actions / lint

47:86 [trailing-spaces] trailing spaces
has already attached to it
reason: Conflicted
status: "False"
type: Accepted
Expand Down Expand Up @@ -152,8 +152,8 @@ envoyExtensionPolicies:
namespace: envoy-gateway
conditions:
- lastTransitionTime: null
message: Unable to target Gateway gateway-1, another EnvoyExtensionPolicy has already
attached to it
message: Unable to target Gateway gateway-1, another EnvoyExtensionPolicy

Check failure on line 155 in internal/gatewayapi/testdata/envoyextensionpolicy-status-conditions.out.yaml

View workflow job for this annotation

GitHub Actions / lint

155:82 [trailing-spaces] trailing spaces
has already attached to it
reason: Conflicted
status: "False"
type: Accepted
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -286,8 +286,8 @@ securityPolicies:
namespace: envoy-gateway
conditions:
- lastTransitionTime: null
message: Unable to target HTTPRoute httproute-1, another SecurityPolicy has already attached
to it
message: Unable to target HTTPRoute httproute-1, another SecurityPolicy has

Check failure on line 289 in internal/gatewayapi/testdata/securitypolicy-status-conditions.out.yaml

View workflow job for this annotation

GitHub Actions / lint

289:84 [trailing-spaces] trailing spaces
already attached to it
reason: Conflicted
status: "False"
type: Accepted
Expand Down Expand Up @@ -381,8 +381,8 @@ securityPolicies:
namespace: envoy-gateway
conditions:
- lastTransitionTime: null
message: Unable to target Gateway gateway-1, another SecurityPolicy has already attached
to it
message: Unable to target Gateway gateway-1, another SecurityPolicy has already

Check failure on line 384 in internal/gatewayapi/testdata/securitypolicy-status-conditions.out.yaml

View workflow job for this annotation

GitHub Actions / lint

384:88 [trailing-spaces] trailing spaces
attached to it
reason: Conflicted
status: "False"
type: Accepted
Expand Down

0 comments on commit fddbca9

Please sign in to comment.