Skip to content

Commit

Permalink
Update docs to include peer labels in the list of available attributes
Browse files Browse the repository at this point in the history
Signed-off-by: Ziv Nevo <[email protected]>
  • Loading branch information
zivnevo committed Aug 21, 2024
1 parent 3866ce9 commit ee93901
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion website/content/en/docs/main/concepts/policies.md
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,8 @@ More examples are available on our repo under [examples/policies][].
### Available attributes
The following attributes (labels) are set by ClusterLink on each connection request, and can be used in access policies within a `workloadSelector`.
#### Peer attributes - set when running `clusterlink deploy peer`
* `peer.clusterlink.net/name` - Peer name
* `peer.clusterlink.net/name` - Peer name as set by the `--name` flag
* `peer.clusterlink.net/labels.<label-key>` - Peer's labels, set by using `--label` flags
#### Client attributes - derived from Pod info, as retrieved from Kubernetes API. Only relevant in the `from` section of access policies
* `client.clusterlink.net/namespace` - Pod's Namespace
* `client.clusterlink.net/service-account` - Pod's Service Account
Expand Down

0 comments on commit ee93901

Please sign in to comment.