artifacthub / hub

Find, install and publish Cloud Native packages
https://artifacthub.io
Apache License 2.0
1.68k stars 230 forks source link

Kubewarden policies don't honour `kubewarden/mutation` annotations #2415

Closed viccuad closed 2 years ago

viccuad commented 2 years ago

Describe the bug

Hi,

Packages marked as Kubewarden policies seem to not correctly display anotations.kubewarden/mutation from their artifacthub-pkg.yml.

To Reproduce

For example, https://artifacthub.io/packages/kubewarden/trusted-repos/trusted-repos lists, on the middle right:

Resources

Pod
Validation + Mutation policy  <- incorrect, should be Validation only for this package

Expected behavior The policy should show "Validation policy", according to its artifacthub-pkg.yml.

The majority of Kubewarden policies from the Kubewarden team are non-mutating, see this search.

Screenshots

Screenshot from 2022-10-14 10-50-09

Desktop (please complete the following information):

Additional context None

tegioz commented 2 years ago

Hi @viccuad 👋

Thanks for reporting this issue! The fix has just been deployed 👍

viccuad commented 2 years ago

Many thanks all! :heart: