Skip to content

Commit

Permalink
Change securityContext on operator, so that scc is 'restricted'
Browse files Browse the repository at this point in the history
This change will allow the SCC to be 'restricted',
otherwise it will be 'privileged'

Signed-off-by: Andrej Krejcir <akrejcir@redhat.com>
  • Loading branch information
akrejcir committed Aug 19, 2021
1 parent 03f6a75 commit c0d439c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion config/manager/manager.template.yaml
Expand Up @@ -19,7 +19,7 @@ spec:
serviceAccountName: ssp-operator
priorityClassName: system-cluster-critical
securityContext:
runAsUser: 1000
runAsNonRoot: true
containers:
- command:
- /manager
Expand Down

0 comments on commit c0d439c

Please sign in to comment.