Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
19 lines (19 sloc) 507 Bytes
apiVersion: "rbac.istio.io/v1alpha1"
kind: ServiceRole
metadata:
name: products-viewer
namespace: default
spec:
rules:
- services: ["product*"]
paths: ["*"]
methods: ["*"]
- services: ["reviews.default.svc.cluster.local"]
paths: ["*/reviews"]
methods: ["GET"]
- services: ["ratinges.default.svc.cluster.local"]
paths: ["*/ratings"]
methods: ["GET", "PUT"]
- services: ["details.default.svc.cluster.local"]
paths: ["*/details"]
methods: ["GET"]
You can’t perform that action at this time.