Skip to content

Kubewarden is a policy engine for Kubernetes. It helps with keeping your Kubernetes clusters secure 🔐 and compliant ✔.

Kubewarden policies can be written using regular programming languages or Domain Specific Languages (DSL).

Policies are compiled into WebAssembly modules that are then distributed using traditional container registries.

Getting Started 📚

Check our first-stop kubewarden/community 👋 repository for information about the organization of the project.

Take a look at our documentation 📖 Stay up to date by reading our official blog 📣 and by following us on Twitter.

Get in touch with us on Slack: join the kubewarden channel hosted by the official Kubernetes workspace 👨‍💻 💬 👩‍💻

Enforcing Policies 🔒

Discover ready to use policies by visiting ArtifactHub 📦

Don't forget to take a look at kwctl, our handy multi-purpose tool for managing policies 🛠️ 🧰

Writing policies 📝

Interested in writing a new policy?

Kubewarden allows you to write policies using a variety of programming languages, including Rust, Go, Rego, CEL and others.

These are some useful resources to get you started:

Useful GitHub tags :octocat: 🏷️

Use these tags to find repositories over all GitHub 🗺️ 🌌

Purpose Tag
Policy Template kubewarden-policy-template
Policy kubewarden-policy
Policy SDK kubewarden-policy-sdk

Contributing 🙌

That's fantastic news! 🥳

Check our general CONTRIBUTING.md docs.

Quick links to "core" projects:

Project Scope Language
kubewarden-controller Kubernetes integration point Go
policy-server Run Kubewarden policies Rust
kwctl Kubewarden policy multi-purpose cli tool Rust

Pinned Loading

  1. kwctl kwctl Public

    Go-to CLI tool for Kubewarden users

    Rust 75 16

  2. policy-server policy-server Public

    Webhook server that evaluates WebAssembly policies to validate Kubernetes requests

    Rust 142 18

  3. kubewarden-controller kubewarden-controller Public

    Manage admission policies in your Kubernetes cluster with ease

    Go 196 33

  4. rust-policy-template rust-policy-template Public

    A Kubewarden rust policy template to be used with cargo-generate

    Rust 9 6

  5. go-policy-template go-policy-template Public template

    A template repository to quickly scaffold a Kubewarden policy written with Go language

    Go 10 16

  6. swift-policy-template swift-policy-template Public template

    A template repository to quickly scaffold a Kubewarden policy written with Swift language

    Swift 1 1

Repositories

Showing 10 of 96 repositories
  • policy-server Public

    Webhook server that evaluates WebAssembly policies to validate Kubernetes requests

    kubewarden/policy-server’s past year of commit activity
    Rust 142 Apache-2.0 18 18 (4 issues need help) 0 Updated Jan 2, 2025
  • kwctl Public

    Go-to CLI tool for Kubewarden users

    kubewarden/kwctl’s past year of commit activity
    Rust 75 Apache-2.0 16 20 (3 issues need help) 1 Updated Jan 2, 2025
  • policy-evaluator Public

    Crate used by Kubewarden that is able to evaluate policies with a given input, request to evaluate and settings.

    kubewarden/policy-evaluator’s past year of commit activity
    Rust 15 Apache-2.0 8 22 3 Updated Jan 2, 2025
  • policy-fetcher Public

    Crate used by Kubewarden that is able to pull policies from OCI registries and HTTP servers.

    kubewarden/policy-fetcher’s past year of commit activity
    Rust 8 Apache-2.0 8 6 0 Updated Jan 2, 2025
  • pod-privileged-policy Public

    A Kubewarden Policy that limits the ability to create privileged containers

    kubewarden/pod-privileged-policy’s past year of commit activity
    Rust 8 Apache-2.0 6 2 0 Updated Jan 2, 2025
  • policy-sdk-dotnet Public

    Kubewarden Policy SDK for the .NET platform

    kubewarden/policy-sdk-dotnet’s past year of commit activity
    C# 8 Apache-2.0 1 2 2 Updated Jan 2, 2025
  • allowed-proc-mount-types-psp-policy Public

    Replacement for the Kubernetes Pod Security Policy that controls the usage of /proc mount types

    kubewarden/allowed-proc-mount-types-psp-policy’s past year of commit activity
    Rust 7 Apache-2.0 5 3 (2 issues need help) 0 Updated Jan 2, 2025
  • fleet-example Public

    Example of Rancher Fleet bundle for Kubewarden

    kubewarden/fleet-example’s past year of commit activity
    1 CC-BY-4.0 3 2 0 Updated Jan 2, 2025
  • raw-validation-policy Public

    Demo policy showing how to write a raw validating policy

    kubewarden/raw-validation-policy’s past year of commit activity
    Rust 0 Apache-2.0 1 1 0 Updated Jan 2, 2025
  • seccomp-psp-policy Public

    A Kubewarden Pod Security Policy that controls usage of Seccomp profiles

    kubewarden/seccomp-psp-policy’s past year of commit activity
    Rust 4 Apache-2.0 4 3 (2 issues need help) 0 Updated Jan 2, 2025