Skip to content
@kubewarden

Kubewarden

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 87 22

  2. policy-server policy-server Public

    Webhook server that evaluates WebAssembly policies to validate Kubernetes requests

    Rust 150 20

  3. kubewarden-controller kubewarden-controller Public

    Manage admission policies in your Kubernetes cluster with ease

    Go 213 38

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

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

    Rust 9 10

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

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

    Go 11 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 105 repositories
  • policy-sdk-js Public

    Experimental Kubewarden SDK for TypeScript and JavaScript

    kubewarden/policy-sdk-js’s past year of commit activity
    TypeScript 0 Apache-2.0 2 9 (1 issue needs help) 2 Updated Sep 2, 2025
  • kwctl Public

    Go-to CLI tool for Kubewarden users

    kubewarden/kwctl’s past year of commit activity
    Rust 87 Apache-2.0 22 17 (1 issue needs help) 1 Updated Sep 2, 2025
  • container-resources-policy Public

    Policy is designed to enforce constraints on the resource requirements of Kubernetes containers

    kubewarden/container-resources-policy’s past year of commit activity
    Go 1 Apache-2.0 5 2 0 Updated Sep 2, 2025
  • gostubpkg Public

    gostubpkg is a tool for generating stubs of Go packages

    kubewarden/gostubpkg’s past year of commit activity
    Go 3 Apache-2.0 0 3 1 Updated Sep 1, 2025
  • audit-scanner Public

    Reports evaluation of existing Kubernetes resources with your already deployed Kubewarden policies.

    kubewarden/audit-scanner’s past year of commit activity
    Go 8 Apache-2.0 9 9 1 Updated Sep 1, 2025
  • persistentvolumeclaim-storageclass-policy Public

    Policy that validates and adjusts the usage of StorageClasses in PersistentVolumeClaims

    kubewarden/persistentvolumeclaim-storageclass-policy’s past year of commit activity
    Rust 1 Apache-2.0 2 4 0 Updated Sep 1, 2025
  • helm-charts Public

    Helm charts for the Kubewarden project

    kubewarden/helm-charts’s past year of commit activity
    Smarty 28 Apache-2.0 18 17 (2 issues need help) 2 Updated Sep 1, 2025
  • automation Public

    Automation scripts for the management of the Kubewarden organization on GitHub

    kubewarden/automation’s past year of commit activity
    HCL 3 Apache-2.0 5 3 0 Updated Sep 1, 2025
  • policy-server Public

    Webhook server that evaluates WebAssembly policies to validate Kubernetes requests

    kubewarden/policy-server’s past year of commit activity
    Rust 150 Apache-2.0 20 21 0 Updated Sep 1, 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 9 Apache-2.0 10 6 0 Updated Sep 1, 2025