apiVersion: rbac.authorization.k8s.io/v1
kind: Role
metadata:
  name: collaborator
  namespace: visibility
rules:
- apiGroups:
  - apps
  - extensions
  resources:
  - daemonsets
  resourceNames:
  - logging-agent
  verbs:
  - create
  - update
  - patch
  - delete
---
kind: RoleBinding
apiVersion: rbac.authorization.k8s.io/v1
metadata:
  name: collaborator
  namespace: visibility
roleRef:
  apiGroup: rbac.authorization.k8s.io
  kind: ClusterRole
  name: collaborator-visibility
subjects:
- kind: Group
  name: CollaboratorPowerUser
  apiGroup: rbac.authorization.k8s.io
- kind: Group
  name: CollaboratorManual
  apiGroup: rbac.authorization.k8s.io
- kind: Group
  name: CollaboratorEmergency
  apiGroup: rbac.authorization.k8s.io

apiVersion: rbac.authorization.k8s.io/v1
kind: Role
metadata:
  name: collaborator
  namespace: visibility
rules:
- apiGroups:
  - apps
  - extensions
  resources:
  - daemonsets
  verbs:
  - create
  - update
  - patch
  - delete
---
kind: RoleBinding
apiVersion: rbac.authorization.k8s.io/v1
metadata:
  name: collaborator
  namespace: visibility
roleRef:
  apiGroup: rbac.authorization.k8s.io
  kind: ClusterRole
  name: collaborator-visibility
subjects:
- kind: Group
  name: CollaboratorPowerUser
  apiGroup: rbac.authorization.k8s.io
- kind: Group
  name: CollaboratorManual
  apiGroup: rbac.authorization.k8s.io
- kind: Group
  name: CollaboratorEmergency
  apiGroup: rbac.authorization.k8s.io

Remove resourceNames from the role
Remove resourceNames from the role

Signed-off-by: Alexey Ermakov <6610c7e1c26fb4c3222ac4f760cb43a9f3c01622@zalando.de>
