generated from kubewarden/go-policy-template
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathquestions-ui.yml
35 lines (35 loc) · 1.01 KB
/
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
35
questions:
- default: null
description: >-
This policy validates the labels of generic Kubernetes objects. It rejects
all the resources that use one or more labels on the deny list. It also
allows you to put constraints on specific labels. The constraints are
expressed as regular expression. It will also allow you to require specific
labels to be part of the resource.
group: Settings
label: Description
required: false
hide_input: true
type: map
variable: description
- default: []
description: A list of labels that cannot be used
group: Settings
label: Denied labels
required: false
type: array[
variable: denied_labels
- default: []
description: A list of labels that must be defined
group: Settings
label: Mandatory labels
required: false
type: array[
variable: mandatory_labels
- default: {}
tooltip: Annotations that are validated with user-defined RegExp
group: Settings
label: Constrained labels
target: true
type: map[
variable: constrained_labels