Skip to content

Commit

Permalink
PATCH: Add SecurityContext to ray pods to function with restricted po…
Browse files Browse the repository at this point in the history
…d-security
  • Loading branch information
ChristianZaccaria authored and astefanutti committed Jun 21, 2024
1 parent 7bc7505 commit 9234fa9
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions ray-operator/config/openshift/ray_operator_scc.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,12 @@ metadata:
name: run-as-ray-user
seLinuxContext:
type: MustRunAs
defaultAllowPrivilegeEscalation: false
allowPrivilegeEscalation: false
seccompProfiles:
- runtime/default
requiredDropCapabilities:
- ALL
runAsUser:
type: MustRunAs
uid: 1000
Expand Down

0 comments on commit 9234fa9

Please sign in to comment.