Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 16 additions & 4 deletions manifests/40-rbac.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,17 @@ metadata:
rules:
# We own (the right to perform anything with) tuned.openshift.io
- apiGroups: ["tuned.openshift.io"]
resources: ["*"]
verbs: ["*"]
resources: ["tuneds"]
verbs: ["create","get","delete","list","update","watch","patch"]
- apiGroups: ["tuned.openshift.io"]
resources: ["tuneds/finalizers"]
verbs: ["update"]
- apiGroups: ["tuned.openshift.io"]
resources: ["profiles"]
verbs: ["create","get","delete","list","update","watch","patch"]
- apiGroups: ["tuned.openshift.io"]
resources: ["profiles/finalizers"]
verbs: ["update"]
# The operator oversees tuned daemonset. It even needs to be able
# to delete it when the operator is put into "Removed" state.
- apiGroups: ["apps"]
Expand Down Expand Up @@ -128,8 +137,11 @@ metadata:
name: cluster-node-tuning:tuned
rules:
- apiGroups: ["tuned.openshift.io"]
resources: ["*"]
verbs: ["*"]
resources: ["tuneds"]
verbs: ["get","list","watch"]
- apiGroups: ["tuned.openshift.io"]
resources: ["profiles"]
verbs: ["get","list","update","watch","patch"]
- apiGroups: ["security.openshift.io"]
resources: ["securitycontextconstraints"]
verbs: ["use"]
Expand Down