Skip to content
This repository was archived by the owner on Jan 29, 2025. It is now read-only.

Commit 5593d5b

Browse files
madalazaruniemimu
authored andcommitted
Improve health metric demo container security
This commit will: - set allowPrivilegeEscalation to false - enable default seccompProfile Signed-off-by: Madalina Lazar <[email protected]>
1 parent a9fd5da commit 5593d5b

File tree

1 file changed

+4
-0
lines changed
  • telemetry-aware-scheduling/deploy/health-metric-demo

1 file changed

+4
-0
lines changed

telemetry-aware-scheduling/deploy/health-metric-demo/demo-pod.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,10 @@ spec:
1919
- name: nginx
2020
image: nginx:latest
2121
imagePullPolicy: IfNotPresent
22+
securityContext:
23+
seccompProfile:
24+
type: RuntimeDefault
25+
allowPrivilegeEscalation: false
2226
resources:
2327
limits:
2428
telemetry/scheduling: 1

0 commit comments

Comments
 (0)