From bc86618fd0bfab830c22e40da786c23e7fa869d6 Mon Sep 17 00:00:00 2001 From: Abhinav Sinha Date: Tue, 9 Jun 2026 21:57:10 +0530 Subject: [PATCH] fix: CrashLoopBackOff in `pod-security-context` scenario Signed-off-by: Abhinav Sinha --- scenarios/scenarios.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scenarios/scenarios.json b/scenarios/scenarios.json index fd78dcf..c170895 100644 --- a/scenarios/scenarios.json +++ b/scenarios/scenarios.json @@ -1631,12 +1631,12 @@ "difficulty": "Medium", "type": "task", "weight": 6, - "description": "## Pod Security Context\n\nA security context defines privilege and access control settings for a pod or container.\n\n**Your task:**\n\nCreate a Pod named `secure-pod` using `nginx:alpine` with the following security settings:\n- `runAsUser: 1000`\n- `runAsNonRoot: true`\n- `allowPrivilegeEscalation: false`\n\n```bash\n# Verify after creation:\nkubectl exec secure-pod -- id\n```", + "description": "## Pod Security Context\n\nA security context defines privilege and access control settings for a pod or container.\n\n**Your task:**\n\nCreate a Pod named `secure-pod` using `busybox:1.36` (command: `sleep 3600`) with the following security settings:\n- `runAsUser: 1000`\n- `runAsNonRoot: true`\n- `allowPrivilegeEscalation: false`\n\n```bash\n# Verify after creation:\nkubectl get pod secure-pod -o jsonpath='{.spec.containers[0].securityContext}'\n```", "hints": [ { "title": "securityContext structure", "body": "Security context can be set at Pod level (`spec.securityContext`) or container level (`spec.containers[].securityContext`). Container-level settings override pod-level.", - "command": "cat <