forked from kubewarden/safe-annotations-policy
-
Notifications
You must be signed in to change notification settings - Fork 0
/
questions-ui.yml
34 lines (34 loc) · 995 Bytes
/
questions-ui.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
questions:
- default: null
description: >-
This policy validates the annotations of generic Kubernetes objects. It
rejects all the resources that use one or more annotations on the deny list.
It also allows you to put constraints on specific annotations. The
constraints are expressed as regular expression.
group: Settings
label: Description
required: false
hide_input: true
type: string
variable: description
- default: []
tooltip: A list of annotations that cannot be used
group: Settings
label: Denied annotations
required: false
type: array[
variable: denied_annotations
- default: []
tooltip: A list of annotations that must be defined
group: Settings
label: Mandatory annotations
target: true
type: array[
variable: mandatory_annotations
- default: {}
tooltip: Annotations that are validated with user-defined RegExp
group: Settings
label: Constrained annotations
target: true
type: map[
variable: constrained_annotations