-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #113 from viccuad/update-metadata
feat: Update metadata.yml to target all workload resources
- Loading branch information
Showing
2 changed files
with
50 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | ||
|
@@ -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 | ||
|