Skip to content

Commit

Permalink
Add field description for allowed repos (open-policy-agent#115)
Browse files Browse the repository at this point in the history
Signed-off-by: Max Smythe <smythe@google.com>

Co-authored-by: Sertaç Özercan <852750+sozercan@users.noreply.github.com>
  • Loading branch information
maxsmythe and sozercan committed Oct 7, 2021
1 parent 55e4c9a commit 75edbb7
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions library/general/allowedrepos/template.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ kind: ConstraintTemplate
metadata:
name: k8sallowedrepos
annotations:
description: Requires container images to begin with a repo string from a specified
list.
description: >-
Requires container images to begin with a string from the specified list.
spec:
crd:
spec:
Expand All @@ -16,6 +16,7 @@ spec:
type: object
properties:
repos:
description: The list of prefixes a container image is allowed to have.
type: array
items:
type: string
Expand Down

0 comments on commit 75edbb7

Please sign in to comment.