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 tests for the sample policy disallow-proc-mount #957

Closed
wants to merge 3 commits into from

Conversation

erisnar
Copy link

@erisnar erisnar commented Mar 25, 2024

Related Issue(s)

#956

Description

Adds chainsaw tests to sample policy

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.

@chipzoller
Copy link
Contributor

The tests for this are failing, the reason being, as noted in the description for this policy, Kubernetes will not allow any other procMount value to be set other than Default unless a corresponding feature gate is set. Since the clusters used to perform these tests do not set this feature gate, and not do we want to, writing this test isn't going to be possible (which is why no Chainsaw test was included by default).

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