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/.
This repository includes a GitHub Action workflow for automatically updating policy references when new versions are released.
The workflow can be triggered in two ways:
-
Manually via workflow dispatch - requires the following inputs:
owner
: Repository ownerrepo
: Repository nametag
: Tag to releasepolicy-working-dir
: Working directory of the policy. Useful for repos with policies in folders (optional)chart-dir
: Override the chart directory name (optional, defaults to repo name)
-
Automatically via repository dispatch - requires this payload:
The workflow performs these steps:
- Fetches the policy repository at the specified tag
- Creates a directory structure under
charts/<repo-name>/
- Copies required files (README.md, LICENSE)
- Copies optional files (questions-ui.yml → questions.yaml)
- Generates Chart.yaml using the pkg2chart tool
- Creates a PR with the changes
Each policy repository must contain the following:
- README.md
- LICENSE
- artifacthub-pkg.yml and artifacthub-repo.yml (for Chart.yaml generation)
Optional:
- questions-ui.yml (will be renamed to questions.yaml)