runAsNonRoot at container level

This commit is contained in:
p
2026-11-27 14:49:54 +00:00
parent 233f112106
commit 98f5561455
2 changed files with 2 additions and 0 deletions
+1
View File
@@ -24,6 +24,7 @@ spec:
- name: probe-exec
image: busybox:1.36
securityContext:
runAsNonRoot: true
allowPrivilegeEscalation: false
capabilities:
drop: ["ALL"]
+1
View File
@@ -19,6 +19,7 @@ spec:
- name: probe-db
image: postgres:18-alpine
securityContext:
runAsNonRoot: true
allowPrivilegeEscalation: false
capabilities:
drop: ["ALL"]