|
1 | | ---- |
2 | | -### |
3 | | -### Use `make artifacthub-pkg.yml` to auto-generate this file |
4 | | -### See docs.kubewarden.io for publishing to ArtifactHub |
5 | | -### |
6 | | -version: 0.0.1 |
| 1 | +# Kubewarden Artifacthub Package config |
| 2 | +# |
| 3 | +# Use this config to submit the policy to https://artifacthub.io. |
| 4 | +# |
| 5 | +# This config can be saved to its default location with: |
| 6 | +# kwctl scaffold artifacthub > artifacthub-pkg.yml |
| 7 | +version: 0.0.1-unreleased-3-g7dcff17 |
7 | 8 | name: policy-name |
8 | 9 | displayName: Policy Name |
9 | | -createdAt: '2022-07-19T16:39:10+02:00' |
10 | | -description: DESCRIPTION OF YOUR POLICY |
| 10 | +createdAt: 2023-03-24T17:39:26.902596213Z |
| 11 | +description: Short description |
11 | 12 | license: Apache-2.0 |
12 | | -homeURL: POLICY HOMEPAGE URL |
| 13 | +homeURL: https://github.com/yourorg/policy-name |
13 | 14 | containersImages: |
14 | 15 | - name: policy |
15 | | - image: "<registry>/<policy-name>:0.0.1" |
16 | | -install: | |
17 | | - The policy can be obtained using [`kwctl`](https://github.com/kubewarden/kwctl/): |
18 | | -
|
19 | | - ```console |
20 | | - kwctl pull <registry>/<policy-name>:0.0.1 |
21 | | - ``` |
| 16 | + image: ghcr.io/yourorg/policies/policy-name:v0.0.1-unreleased-3-g7dcff17 |
22 | 17 | keywords: |
23 | | -- this is freeform |
| 18 | +- pod |
| 19 | +- cool policy |
| 20 | +- kubewarden |
24 | 21 | links: |
25 | 22 | - name: policy |
26 | | - url: https://github.com/yourorg/policy-name/releases/download/0.0.1/policy.wasm |
| 23 | + url: https://github.com/yourorg/policy-name/releases/download/v0.0.1-unreleased-3-g7dcff17/policy.wasm |
27 | 24 | - name: source |
28 | | - url: POLICY HOMEPAGE URL |
| 25 | + url: https://github.com/yourorg/policy-name |
| 26 | +install: | |
| 27 | + The policy can be obtained using [`kwctl`](https://github.com/kubewarden/kwctl): |
| 28 | + ```console |
| 29 | + kwctl pull ghcr.io/yourorg/policies/policy-name:v0.0.1-unreleased-3-g7dcff17 |
| 30 | + ``` |
| 31 | +maintainers: |
| 32 | +- name: Author name |
| 33 | + email: author-email@example.com |
29 | 34 | provider: |
30 | 35 | name: kubewarden |
31 | 36 | recommendations: |
32 | 37 | - url: https://artifacthub.io/packages/helm/kubewarden/kubewarden-controller |
33 | 38 | annotations: |
34 | | - kubewarden/resources: Pod # comma separated list |
35 | | - kubewarden/mutation: false |
36 | | - kubewarden/contextAware: false |
| 39 | + kubewarden/mutation: 'false' |
| 40 | + kubewarden/resources: Pod |
| 41 | + kubewarden/rules: | |
| 42 | + - apiGroups: |
| 43 | + - '' |
| 44 | + apiVersions: |
| 45 | + - v1 |
| 46 | + resources: |
| 47 | + - pods |
| 48 | + operations: |
| 49 | + - CREATE |
0 commit comments