Skip to content

Commit

Permalink
add notes re: code executor securityContext (#213)
Browse files Browse the repository at this point in the history
  • Loading branch information
avimoondra authored Feb 21, 2024
1 parent 97f1220 commit e7bf94e
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions kubernetes-with-temporal/retool-code-executor-container.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -39,5 +39,8 @@ spec:
requests:
cpu: 1000m
memory: 1024Mi
# code executor uses nsjail to sandbox code execution. nsjail requires privileged container access.
# If your deployment does not support privileged access, you can set this to false to not use nsjail.
# Without nsjail, all code is run without sandboxing within your deployment.
securityContext:
privileged: true
3 changes: 3 additions & 0 deletions kubernetes/retool-code-executor-container.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -39,5 +39,8 @@ spec:
requests:
cpu: 1000m
memory: 1024Mi
# code executor uses nsjail to sandbox code execution. nsjail requires privileged container access.
# If your deployment does not support privileged access, you can set this to false to not use nsjail.
# Without nsjail, all code is run without sandboxing within your deployment.
securityContext:
privileged: true

0 comments on commit e7bf94e

Please sign in to comment.