Merge "add ut from create routerule"
[msb/service-mesh.git] / install / istio-ingress-rbac.yaml
1 apiVersion: "rbac.istio.io/v1alpha1"
2 kind: ServiceRole
3 metadata:
4   name: service-viewer
5   namespace: onap 
6 spec:
7   rules:
8   - services: ["*"]
9     methods: ["GET"]
10 ---
11 apiVersion: "rbac.istio.io/v1alpha1"
12 kind: ServiceRoleBinding
13 metadata:
14   name: bind-service-viewer
15   namespace: onap 
16 spec:
17   subjects:
18   - properties:
19       source.namespace: "istio-system"
20   - properties:
21       source.namespace: "default"
22   roleRef:
23     kind: ServiceRole
24     name: "service-viewer"