-
Notifications
You must be signed in to change notification settings - Fork 52
/
Copy pathconstraint_Test.yaml
82 lines (82 loc) · 1.67 KB
/
constraint_Test.yaml
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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
# This is a custom template for constraints
apiVersion: constraints.gatekeeper.sh/v1beta1
kind: Test
metadata:
name: test
spec:
match:
excludedNamespaces:
- kube-system
- gatekeeper-system
kinds:
- apiGroups:
- ""
kinds:
- Pod
- apiGroups:
- apps
kinds:
- DaemonSet
- Deployment
- StatefulSet
labelSelector:
matchExpressions:
- key: foo
operator: In
values:
- bar
- baz
- key: doggos
operator: Exists
namespaces:
- dev
- stage
- prod
parameters:
super:
id: ""
schema: ""
ref: null
description: |-
super duper cool parameter with a description
on two lines.
type: string
format: ""
title: ""
default: null
maximum: null
exclusivemaximum: false
minimum: null
exclusiveminimum: false
maxlength: null
minlength: null
pattern: ""
maxitems: null
minitems: null
uniqueitems: false
multipleof: null
enum: []
maxproperties: null
minproperties: null
required: []
items: null
allof: []
oneof: []
anyof: []
not: null
properties: {}
additionalproperties: null
patternproperties: {}
dependencies: {}
additionalitems: null
definitions: {}
externaldocs: null
example: null
nullable: false
xpreserveunknownfields: null
xembeddedresource: false
xintorstring: false
xlistmapkeys: []
xlisttype: null
xmaptype: null
xvalidations: []