Skip to content

Commit

Permalink
[CARRY] Add cluster rules for nmstate-handler sa
Browse files Browse the repository at this point in the history
This adds the privileged SCC for the nmstate-handler serviceaccount.
The nmstate-operator serviceaccount was not enough.
Multiple sa's can be specificed in the CSV.

Signed-off-by: Brad P. Crochet <[email protected]>
  • Loading branch information
bcrochet committed Dec 4, 2020
1 parent 849bd7d commit 94fa634
Showing 1 changed file with 10 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,16 @@ spec:
resourceNames:
- privileged
serviceAccountName: nmstate-operator
- rules:
- apiGroups:
- security.openshift.io
resources:
- securitycontextconstraints
verbs:
- use
resourceNames:
- privileged
serviceAccountName: nmstate-handler
deployments:
- name: nmstate-operator
spec:
Expand Down

0 comments on commit 94fa634

Please sign in to comment.