Skip to content

Commit

Permalink
set securityContext for test (#2101)
Browse files Browse the repository at this point in the history
Add enforces security-context for test

Signed-off-by: pjuarezd <[email protected]>
  • Loading branch information
pjuarezd authored May 8, 2024
1 parent 8f6fef6 commit 5db81aa
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions testing/dev/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,12 @@ spec:
runAsUser: 1000
runAsGroup: 1000
runAsNonRoot: true
allowPrivilegeEscalation: false
capabilities:
drop:
- ALL
seccompProfile:
type: RuntimeDefault
affinity:
podAntiAffinity:
requiredDuringSchedulingIgnoredDuringExecution:
Expand Down

0 comments on commit 5db81aa

Please sign in to comment.