C#
Currently, .NET Core has experimental support for the WebAssembly WASI platform.
This is from the dotnet-wasi-sdk
project.
note
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.
Current state​
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
KubernetesClient.Models
library to deal with the Kubernetes objects.
Project template​
Currently, we don't have a project template that can scaffold a C# policy.
Please, open an issue if interested.