consul/agent/xds/testdata
Eric Haberkorn 7ce6ebaeb3
Handle Traffic Permissions With Empty Sources Properly (#19024)
Fix issues with empty sources

* Validate that each permission on traffic permissions resources has at least one source.
* Don't construct RBAC policies when there aren't any principals. This resulted in Envoy rejecting xDS updates with a validation error.

```
error=
  | rpc error: code = Internal desc = Error adding/updating listener(s) public_listener: Proto constraint validation failed (RBACValidationError.Rules: embedded message failed validation | caused by RBACValidationError.Policies[consul-intentions-layer4-1]: embedded message failed validation | caused by PolicyValidationError.Principals: value must contain at least 1 item(s)): rules {
```
2023-09-28 15:11:59 -04:00
..
builtin_extension Add Envoy golden test for OTEL access logging extension (#18760) 2023-09-12 09:58:53 -07:00
clusters xds: Use downstream protocol when connecting to local app (#18573) 2023-09-19 14:32:28 -07:00
endpoints xds: update golden tests to be deterministic (#18707) 2023-09-11 11:40:19 -05:00
jwt_authn xds: update golden tests to be deterministic (#18707) 2023-09-11 11:40:19 -05:00
jwt_authn_clusters xds: update golden tests to be deterministic (#18707) 2023-09-11 11:40:19 -05:00
listeners xds: update golden tests to be deterministic (#18707) 2023-09-11 11:40:19 -05:00
rbac Handle Traffic Permissions With Empty Sources Properly (#19024) 2023-09-28 15:11:59 -04:00
routes xds: update golden tests to be deterministic (#18707) 2023-09-11 11:40:19 -05:00
secrets xds: update golden tests to be deterministic (#18707) 2023-09-11 11:40:19 -05:00
alt-test-leaf-cert.golden
alt-test-leaf-key.golden
alt-test-root-cert.golden
cache-test-leaf-cert.golden
cache-test-leaf-key.golden
db-test-leaf-cert.golden
db-test-leaf-key.golden
test-leaf-cert.golden
test-leaf-key.golden
test-root-cert.golden