kubewarden / pod-privileged-policy

A Kubewarden Policy that limits the ability to create privileged containers
https://kubewarden.io
Apache License 2.0
8 stars 6 forks source link

Split common code into a shared library #8

Closed flavio closed 2 years ago

flavio commented 2 years ago

Currently, the validate.ts file holds quite some methods that are common to any policy written in AssemblyScript such as, acceptRequest, rejectRequest,...

We should move these functions to a shared library, so that we can have a kubewarden SDK for AssemblyScript

flavio commented 2 years ago

Closing, right now AssemblyScript is too immature for our purposes. We might even rewrite this policy using Rust