Skip to content

Commit

Permalink
chore: add seccompprofile to compute function pods
Browse files Browse the repository at this point in the history
Signed-off-by: SdgJlbl <[email protected]>
  • Loading branch information
SdgJlbl committed May 29, 2024
1 parent d84bcb2 commit 95e6542
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions backend/substrapp/kubernetes_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ def get_security_context(root: bool = False, capabilities: list[str] = None) ->
privileged=False,
allow_privilege_escalation=False,
capabilities=kubernetes.client.V1Capabilities(drop=["ALL"], add=capabilities),
seccomp_profile=kubernetes.client.V1SeccompProfile(type="RuntimeDefault"),
)

if root:
Expand Down

0 comments on commit 95e6542

Please sign in to comment.