Skip to content
This repository was archived by the owner on Jan 20, 2026. It is now read-only.

Latest commit

 

History

History
19 lines (14 loc) · 796 Bytes

File metadata and controls

19 lines (14 loc) · 796 Bytes

Contributing

This policy follows the same Kubewarden contributing guidelines. Please review them before contributing.

End-to-End Testing

The end-to-end (e2e) tests for this policy have a special requirement. They need access to Kubernetes resources to be used as parameters, which necessitates adding a contextAwareResources section to the policy's metadata file.

However, this configuration is for testing only and must not be present in the default metadata.yml file used for releases.

To solve this, the metadata.yml file used during e2e tests is generated dynamically right before the test suite runs. This process is handled automatically by the e2e-tests target in the Makefile.