Skip to content

Conversation

@chernetskyi
Copy link

Related Issue(s)

Closes #1365.

Description

Require Requests and Limits for emptyDir policy enforces ephemeral-storage requests and limits on emptyDir volumes even if they are memory-backed. This PR addresses this by making an exception for memory-backed volumes.

The previous exception for emptyDir volumes with sizeLimit set is removed, because sizeLimit does not replace the limits mechanics, only complements it.

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.

Signed-off-by: Volodymyr Chernetskyi <19735328+chernetskyi@users.noreply.github.com>
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.

emptyDir policy requires ephemeral-storage resources for memory-backed volumes

1 participant