-
Notifications
You must be signed in to change notification settings - Fork 47
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add GATEKEEPER.md for a guide on enforcing use of Kata Containers #432
base: devel
Are you sure you want to change the base?
Conversation
This commit adds GATEKEEPER.md to the docs directory and example yaml manifests to config/sample/gatekeeper. The document provides a step-by-step guide on using OpenShift Gatekeeper to enforce policies that require privileged pods to use Kata Containers. Reasons to include this in the repository: Kata Containers enhance isolation for sensitive workloads. This guide helps users implement and enforce their use through Gatekeeper policies. By including this, we aim to: 1. Educate users with clear instructions on enforcing security policies. 2. Promote best practices for securing Kubernetes environments. 3. Improve usability by offering a structured, practical example. Structure 1. Constraint Template: Steps to create and apply. 2. Constraint: Instructions to create and apply. 3. Pod Manifest: Example for testing. 4. Compliance*: How to verify. This document enhances the repository by providing practical guidance on using Kata Containers with Gatekeeper. Signed-off-by: Jens Freimann <[email protected]>
Skipping CI for Draft Pull Request. |
match: | ||
kinds: | ||
- apiGroups: [""] | ||
kinds: ["Pod"] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should this also apply to higher level objects like Deployments etc, or creating the policy for Pod automatically applies it to higher level constructs that uses Pod (eg. Deployments, Replicasets etc) ?
Issues go stale after 90d of inactivity. Mark the issue as fresh by commenting If this issue is safe to close now please do so with /lifecycle stale |
Stale issues rot after 30d of inactivity. Mark the issue as fresh by commenting If this issue is safe to close now please do so with /lifecycle rotten |
- What I did
This commit adds GATEKEEPER.md to the docs directory and example yaml
manifests to config/sample/gatekeeper. The document
provides a step-by-step guide on using OpenShift Gatekeeper to enforce
policies that require privileged pods to use Kata Containers.
- Description of the problem which is fixed/What is the use case
Reasons to include this in the repository:
Kata Containers enhance isolation for sensitive workloads. This guide
helps users implement and enforce their use through Gatekeeper policies.
By including this, we aim to:
Structure
This document enhances the repository by providing practical guidance on
using Kata Containers with Gatekeeper.
- How to verify it
Read it and try it out.
Signed-off-by: Jens Freimann [email protected]