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 Bluesky or Mastodon.

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 78 19

  2. policy-server policy-server Public

    Webhook server that evaluates WebAssembly policies to validate Kubernetes requests

    Rust 144 19

  3. kubewarden-controller kubewarden-controller Public

    Manage admission policies in your Kubernetes cluster with ease

    Go 206 35

  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 98 repositories
  • policy-sdk-js Public

    Experimental Kubewarden SDK for TypeScript and JavaScript

    kubewarden/policy-sdk-js’s past year of commit activity
    TypeScript 1 Apache-2.0 1 1 3 Updated Mar 8, 2025
  • policy-server Public

    Webhook server that evaluates WebAssembly policies to validate Kubernetes requests

    kubewarden/policy-server’s past year of commit activity
    Rust 144 Apache-2.0 19 22 1 Updated Mar 8, 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 1 1 Updated Mar 7, 2025
  • volumes-psp-policy Public

    Replacement for the Kubernetes Pod Security Policy that controls the usage of volumes

    kubewarden/volumes-psp-policy’s past year of commit activity
    Go 2 Apache-2.0 2 2 (1 issue needs help) 1 Updated Mar 7, 2025
  • volumeMounts-policy Public

    A Kubewarden Policy that controls the usage of `volumeMounts`

    kubewarden/volumeMounts-policy’s past year of commit activity
    Rust 2 Apache-2.0 4 1 1 Updated Mar 7, 2025
  • verify-image-signatures Public

    A Kubewarden Policy that verifies all the signatures of the container images referenced by a Pod

    kubewarden/verify-image-signatures’s past year of commit activity
    Rust 13 Apache-2.0 9 2 (1 issue needs help) 1 Updated Mar 7, 2025
  • user-group-psp-policy Public

    This Kubewarden Policy is a replacement for the Kubernetes Pod Security Policy that controls containers user and groups

    kubewarden/user-group-psp-policy’s past year of commit activity
    Rust 7 Apache-2.0 4 2 1 Updated Mar 7, 2025
  • unique-service-selector-policy Public

    Policy validates that there are no services with the same set of selectors

    kubewarden/unique-service-selector-policy’s past year of commit activity
    Rust 0 Apache-2.0 1 1 1 Updated Mar 7, 2025
  • unique-ingress-policy Public

    Prevent the creation of Ingress resources with duplicated hosts

    kubewarden/unique-ingress-policy’s past year of commit activity
    Open Policy Agent 0 Apache-2.0 1 1 1 Updated Mar 7, 2025
  • trusted-repos-policy Public

    A Kubewarden policy that restricts what registries, tags and images can pods on your cluster refer to

    kubewarden/trusted-repos-policy’s past year of commit activity
    Rust 7 Apache-2.0 3 2 (1 issue needs help) 1 Updated Mar 7, 2025