X-Git-Url: https://gerrit.onap.org/r/gitweb?a=blobdiff_plain;f=install%2Fmsb-rbac.yaml;fp=install%2Fmsb-rbac.yaml;h=bcb1d87997718d706c0a73ec171dd076f3103aa8;hb=b8a4a260fee9a4fcc9d479c590fb74872046be58;hp=0000000000000000000000000000000000000000;hpb=7a79abe6bb6cb4b747054e08a7cb49cff27f56a2;p=msb%2Fservice-mesh.git diff --git a/install/msb-rbac.yaml b/install/msb-rbac.yaml new file mode 100644 index 0000000..bcb1d87 --- /dev/null +++ b/install/msb-rbac.yaml @@ -0,0 +1,21 @@ +apiVersion: "rbac.istio.io/v1alpha1" +kind: ServiceRole +metadata: + name: msb + namespace: onap +spec: + rules: + - services: ["*"] + methods: ["GET"] +--- +apiVersion: "rbac.istio.io/v1alpha1" +kind: ServiceRoleBinding +metadata: + name: bind-service-msb + namespace: onap +spec: + subjects: + - user: "cluster.local/ns/onap/sa/msb" + roleRef: + kind: ServiceRole + name: "msb"