Skip to content

Commit 1a12879

Browse files
committed
fix: Refresh artifacthub-pkg.yml
Signed-off-by: Víctor Cuadrado Juan <vcuadradojuan@suse.de>
1 parent 8e68a5e commit 1a12879

1 file changed

Lines changed: 35 additions & 22 deletions

File tree

artifacthub-pkg.yml

Lines changed: 35 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -1,36 +1,49 @@
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
78
name: policy-name
89
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
1112
license: Apache-2.0
12-
homeURL: POLICY HOMEPAGE URL
13+
homeURL: https://github.com/yourorg/policy-name
1314
containersImages:
1415
- 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
2217
keywords:
23-
- this is freeform
18+
- pod
19+
- cool policy
20+
- kubewarden
2421
links:
2522
- 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
2724
- 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
2934
provider:
3035
name: kubewarden
3136
recommendations:
3237
- url: https://artifacthub.io/packages/helm/kubewarden/kubewarden-controller
3338
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

Comments
 (0)