Currently, .NET Core has experimental support for the WebAssembly WASI platform.
This is from the
You don't need a Windows installation to write or run .NET Core code. Everything can be done also on a Linux or on an macOS machine.
Policy authors can use 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 are known. The SDK enables writing both validating and mutating policies.
It's possible to use the
library to deal with the Kubernetes objects.
Currently, we don't have a project template that can scaffold a C# policy.
Please, open an issue if interested.