diff --git a/k8s-specifications/rbac.yaml b/k8s-specifications/rbac.yaml new file mode 100644 index 0000000000..0dc9d235fb --- /dev/null +++ b/k8s-specifications/rbac.yaml @@ -0,0 +1,9 @@ +apiVersion: rbac.authorization.k8s.io/v1 +kind: Role +metadata: + name: voting-app-role + namespace: default +rules: + - apiGroups: [""] + resources: ["pods", "services"] + verbs: ["get", "list", "watch"]