Skip to content

Conversation

@ncsokas
Copy link

@ncsokas ncsokas commented Jan 5, 2026

  • Implemented pod-level and container-level security contexts to ensure the container runs as a non-root user.
  • Set the root filesystem to read-only to prevent malware persistence.
  • Disabled privilege escalation and dropped all Linux capabilities.
  • Added writable volumes for temporary storage and cache.

This PR closes #3

- Implemented pod-level and container-level security contexts to ensure the container runs as a non-root user.
- Set the root filesystem to read-only to prevent malware persistence.
- Disabled privilege escalation and dropped all Linux capabilities.
- Added writable volumes for temporary storage and cache.
@ncsokas ncsokas requested review from amrutashety and housa January 5, 2026 11:44
Copy link

@amrutashety amrutashety left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks really good! I like how you have covered multiple attack vectors.

@amrutashety
Copy link

amrutashety commented Jan 28, 2026

@ncsokas A small nit: replace .yml with .yaml in filenames for consistency with other katas.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Create exercise on Pod securityContext

2 participants