Skip to content

Commit

Permalink
Update lib/charms/istio_beacon_k8s/v0/service_mesh.py
Browse files Browse the repository at this point in the history
Co-authored-by: Andrew Scribner <[email protected]>
  • Loading branch information
dstathis and ca-scribner authored Sep 28, 2024
1 parent 1dd7289 commit 4797cd7
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions lib/charms/istio_beacon_k8s/v0/service_mesh.py
Original file line number Diff line number Diff line change
Expand Up @@ -81,8 +81,10 @@
)
```
The labels argument should be a dict containing the Kubernetes labels which the client charm needs
to apply to join the mesh.
The labels argument is the dict of labels that indicate to the service mesh that a Pod should be subscribed to the mesh.
These will be sent to each related ServiceMeshConsumer to be used by the charm for per-Pod subscription. These labels
are service-mesh dependent - for example, for an Istio ambient mesh this should be
{"istio.io/dataplane-mode": "ambient"}.
You can then use the relation data to build your authorization policies:
```
Expand Down

0 comments on commit 4797cd7

Please sign in to comment.