sighupio/gatekeeper-policy-manager

ConstraintTemplates page should show description when available

ralgozino opened this issue · 2 comments

ConstraintTemlpates can have an optional metadata.annotations.description field with a nice description of the ConstraintTemplate.

See for example:

https://github.com/open-policy-agent/gatekeeper-library/blob/259ad1bdd8945d6df451d3fc2867109d76b854e2/library/general/containerlimits/template.yaml#L5-L10

If the description exists, GPM should show it in the UI.

There's actually a whole metadata annotations now:
https://www.openpolicyagent.org/docs/latest/annotations/