Skip to content

Commit

Permalink
add comments to nested notation template
Browse files Browse the repository at this point in the history
  • Loading branch information
akashsinghal committed Nov 29, 2023
1 parent 8168fb5 commit d219788
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions library/notation-nested-validation/template.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,14 @@ spec:
- target: admission.k8s.gatekeeper.sh
rego: |
package notationnestedvalidation
# This template defines policy for notation nested validation.
# It checks the following:
# - If there are any system errors
# - If there are errors for any of the images
# - Each image has a valid notary project signature
# - Each nested artifact has a valid notary project signature
import future.keywords.if
remote_data := response {
Expand Down

0 comments on commit d219788

Please sign in to comment.