Currently .NET Core has experimental support for the WebAssembly WASI
This is delivered via the
You don't need a Windows machine to write or run .NET Core code. Everything can be done also on a Linux or on an Apple machine.
Policy authors can leverage the following resources:
- Kubewarden .NET Core SDK: this provides a set of objects and functions that simplify the process of writing policies.
- Kubewarden policy example: this is an example of a working policy.
No limitations has been found. The SDK allows both validating and mutating policies to be written.
It's possible to use the
library to deal with the Kubernetes objects.
Currently we do not have a project template that can be used to quickly scaffold a C# policy.
Please, open an issue if you are interested.