policy-catalog

Kubewarden policy-catalog

This repository contains the catalog of Kubewarden policies to be consumed by the Rancher UI. The catalog is published to GitHub Pages at https://kubewarden.github.io/policy-catalog/.

Release Policy Workflow

This repository includes a GitHub Action workflow for automatically updating policy references when new versions are released.

Triggering the Workflow

The workflow can be triggered in two ways:

  1. Manually via workflow dispatch - requires the following inputs:

    • owner: Repository owner
    • repo: Repository name
    • tag: Tag to release
  2. Automatically via repository dispatch - requires this payload:

    {
      "event_type": "release-policy",
      "client_payload": {
        "owner": "org-name",
        "repo": "repo-name",
        "tag": "v1.0.0",
        "artifacthub-pkg": "path/to/artifacthub-pkg.yml" # Optional, defaults to `./artifacthub-pkg.yml`
      }
    }
    

What the Workflow Does

The workflow performs these steps:

Required Files

Each policy repository must contain the following:

Optional: