Skip to content

Commit

Permalink
Merge pull request #113 from viccuad/update-metadata
Browse files Browse the repository at this point in the history
feat: Update metadata.yml to target all workload resources
  • Loading branch information
flavio authored Jun 27, 2024
2 parents 23ca7e1 + 6529b88 commit 97e6c15
Show file tree
Hide file tree
Showing 2 changed files with 50 additions and 11 deletions.
33 changes: 32 additions & 1 deletion artifacthub-pkg.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
version: 0.2.9
name: verify-image-signatures
displayName: Verify Image Signatures
createdAt: 2024-01-19T10:37:32.708987931Z
createdAt: 2024-06-27T12:43:21.116601507Z
description: A Kubewarden Policy that verifies all the signatures of the container images referenced by a Pod
license: Apache-2.0
homeURL: https://github.com/kubewarden/verify-image-signatures
Expand Down Expand Up @@ -267,3 +267,34 @@ annotations:
operations:
- CREATE
- UPDATE
- apiGroups:
- ''
apiVersions:
- v1
resources:
- replicationcontrollers
operations:
- CREATE
- UPDATE
- apiGroups:
- apps
apiVersions:
- v1
resources:
- deployments
- replicasets
- statefulsets
- daemonsets
operations:
- CREATE
- UPDATE
- apiGroups:
- batch
apiVersions:
- v1
resources:
- jobs
- cronjobs
operations:
- CREATE
- UPDATE
28 changes: 18 additions & 10 deletions metadata.yml
Original file line number Diff line number Diff line change
@@ -1,13 +1,20 @@
rules:
- apiGroups:
- ''
apiVersions:
- v1
resources:
- pods
operations:
- CREATE
- UPDATE
- apiGroups: [""]
apiVersions: ["v1"]
resources: ["pods"]
operations: ["CREATE", "UPDATE"]
- apiGroups: [""]
apiVersions: ["v1"]
resources: ["replicationcontrollers"]
operations: ["CREATE", "UPDATE"]
- apiGroups: ["apps"]
apiVersions: ["v1"]
resources: ["deployments", "replicasets", "statefulsets", "daemonsets"]
operations: ["CREATE", "UPDATE"]
- apiGroups: ["batch"]
apiVersions: ["v1"]
resources: ["jobs", "cronjobs"]
operations: ["CREATE", "UPDATE"]
mutating: true
contextAware: false
executionMode: kubewarden-wapc
Expand All @@ -19,7 +26,8 @@ annotations:
# kubewarden specific
io.kubewarden.policy.ociUrl: ghcr.io/kubewarden/policies/verify-image-signatures
io.kubewarden.policy.title: verify-image-signatures
io.kubewarden.policy.description: A Kubewarden Policy that verifies all the signatures
io.kubewarden.policy.description:
A Kubewarden Policy that verifies all the signatures
of the container images referenced by a Pod
io.kubewarden.policy.author: Kubewarden developers <[email protected]>
io.kubewarden.policy.url: https://github.com/kubewarden/verify-image-signatures
Expand Down

0 comments on commit 97e6c15

Please sign in to comment.