demo kind: Role apiVersion: rbac.authorization.k8s.io/v1 metadata: name: web-rw-deployment namespace: demo rules: - apiGroups: [""] resources: ["pods"] verbs: ["get", "list", "watch"] - apiGroups: ["apps"] resources: ["deployments"] verbs: ["get", "list", "watch", "create", "update", "patch", "delete"] kind: RoleBinding apiVersion: rbac.authorization.k8s.io/v1 metadata: name: web-rw-deployment namespace: demo subjects: - kind: ServiceAccount name: web namespace: demo roleRef: kind: Role name: web-rw-deployment apiGroup: rbac.authorization.k8s.io IUUQTLVCFSOFUFTJPKBEPDTSFGFSFODFBDDFTTBVUIOBVUI[BVUIFOUJDBUJPO