Skip to content

Commit

Permalink
updated table contents
Browse files Browse the repository at this point in the history
Signed-off-by: Ian Rudie <[email protected]>
  • Loading branch information
ilrudie authored and craigbox committed May 24, 2024
1 parent f2bed33 commit 0eb6ff2
Showing 1 changed file with 26 additions and 7 deletions.
33 changes: 26 additions & 7 deletions content/en/docs/ambient/usage/policy/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,14 +18,16 @@ This table is based on the following invariants:

1. The source pod is a normal pod which has ztunnel enabled.
1. Redirection to the waypoint is configured correctly.
1. The waypoint is configured with an appropriate `istio.io/waypoint-for` label such that it can accept the type of traffic being sent to it.
1. The waypoint is configured with the `istio.io/waypoint-for` label set to `service`.

| Name | Waypoint* | Attachment Style | Resources | Source Identity | Enforced By |
| --- | --- | --- | --- | --- | --- |
| TCP Policy | no | Selector | Pod | client pod | destination ztunnel |
| TCP Policy | yes | Selector | Pod | waypoint | destination ztunnel |
| TCP Policy | yes | ParentRef | Service | client pod | waypoint |
| HTTP Policy | yes | ParentRef | Service | client pod | waypoint |
| Waypoint* | Attachment Style | Scope | Source Identity | Enforced By |
| --- | --- | --- | --- | --- |
| no | Selector | Pod | client pod | destination ztunnel |
| yes | Selector | Pod | waypoint | destination ztunnel |
| no | | Namespace | client pod | destination ztunnel |
| yes | | Namespace | waypoint | destination ztunnel |
| yes | TargetRef | Service | client pod | waypoint |
| yes | TargetRef | Gateway | client pod | waypoint |

* Whether or not there is already a waypoint is in the traffic path.

Expand All @@ -35,6 +37,23 @@ This table is based on the following invariants:

In a scenario where policy requires application layer aware attributes, such as HTTP verbs, a waypoint proxy is required.

This table is based on the following invariants:

1. The source pod is a normal pod which has ztunnel enabled.
1. Redirection to the waypoint is configured correctly.
1. The waypoint is configured with the `istio.io/waypoint-for` label set to `service`.

| Waypoint* | Attachment Style | Resources | Source Identity | Enforced By |
| --- | --- | --- | --- | --- |
| no | Selector | Pod | n/a | DENY destination ztunnel |
| yes | Selector | Pod | n/a | DENY destination ztunnel |
| no | | Namespace | n/a | DENY destination ztunnel |
| yes | | Namespace | n/a | DENY destination ztunnel |
| yes | TargetRef | Service | client pod | waypoint |
| yes | TargetRef | Gateway | client pod | waypoint |

* Whether or not there is already a waypoint is in the traffic path.

// details

## Ingress and Policy Enforcement
Expand Down

0 comments on commit 0eb6ff2

Please sign in to comment.