Skip to content

Commit

Permalink
improve security in pod
Browse files Browse the repository at this point in the history
Signed-off-by: Scott Trent <[email protected]>
  • Loading branch information
trent-s committed Sep 10, 2024
1 parent 4c660b3 commit 584ce38
Showing 1 changed file with 9 additions and 6 deletions.
15 changes: 9 additions & 6 deletions config/default/manager_config_patch.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,12 @@ spec:
spec:
containers:
- name: manager
securityContext:
allowPrivilegeEscalation: false
runAsNonRoot: true
capabilities:
drop:
- ALL
imagePullPolicy: Always
securityContext:
runAsUser: 11001
runAsGroup: 11001
allowPrivilegeEscalation: false
runAsNonRoot: true
capabilities:
drop:
- ALL

0 comments on commit 584ce38

Please sign in to comment.