Skip to content
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

[Chainsaw Tests] Add Chainsaw Test for Pod Security Disallow ProcMount Cluster Policy #1065

Conversation

mohamedawnallah
Copy link

Related Issue(s)

Partial Fix for Issue #950

Description

Chainsaw test the disallow-proc-mount.yaml Cluster Policy with valid and invalid containers & init containers as test manifests.

Additional Context

Kubernetes Pod Security Standards Docs:
https://kubernetes.io/docs/concepts/security/pod-security-standards/

Checklist

  • I have read the policy contribution guidelines.
  • I have added test manifests and resources covering both positive and negative tests that prove this policy works as intended.
  • I have added the artifacthub-pkg.yml file and have verified it is complete and correct.

@mohamedawnallah mohamedawnallah force-pushed the disallowProcMountChainsawTest branch from eacafcb to 825d8ec Compare July 7, 2024 19:21
@chipzoller
Copy link
Contributor

As mentioned in the annotation for this policy, it cannot be tested without modifications to the API server which we aren't doing at this time.

@chipzoller chipzoller closed this Jul 14, 2024
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.

2 participants