You can determine what source services are allowed to consume specific destination services. The field is mandatory in both sources
and destinations
.
In the example below, the destinations
includes not only the service
property, but also an additional version
tag. You can include any arbitrary tags to any
On Kubernetes:
apiVersion: kuma.io/v1alpha1
kind: TrafficPermission
mesh: default
metadata:
name: permission-1
spec:
rules:
service: backend
destinations:
- match:
service: redis