forked from gatekeeper/gatekeeper-operator
-
Notifications
You must be signed in to change notification settings - Fork 4
/
gatekeeper_with_all_values.yaml
77 lines (77 loc) · 1.78 KB
/
gatekeeper_with_all_values.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
apiVersion: operator.gatekeeper.sh/v1alpha1
kind: Gatekeeper
metadata:
name: gatekeeper
spec:
image:
image: docker.io/openpolicyagent/gatekeeper:v3.15.1
imagePullPolicy: Always
audit:
replicas: 1
logLevel: DEBUG
auditInterval: 10s
constraintViolationLimit: 55
auditFromCache: Enabled
auditChunkSize: 66
emitAuditEvents: Enabled
resources:
limits:
cpu: 100m
memory: 256Mi
requests:
cpu: 100m
memory: 20Mi
containerArguments:
- name: log-level
value: INFO
- name: enable-k8s-native-validation
validatingWebhook: Enabled
mutatingWebhook: Enabled
webhook:
logDenies: Enabled
replicas: 2
logLevel: ERROR
emitAdmissionEvents: Enabled
operations:
- UPDATE
- CREATE
- DELETE
failurePolicy: Ignore
namespaceSelector:
matchExpressions:
- key: admission.gatekeeper.sh/enabled
operator: Exists
resources:
limits:
cpu: 100m
memory: 256Mi
requests:
cpu: 100m
memory: 20Mi
disabledBuiltins:
- http.send
containerArguments:
- name: log-level
value: INFO
- name: enable-k8s-native-validation
nodeSelector:
region: "EMEA"
affinity:
podAffinity:
requiredDuringSchedulingIgnoredDuringExecution:
- labelSelector:
matchLabels:
auditKey: "auditValue"
topologyKey: topology.kubernetes.io/zone
tolerations:
- key: "Example"
operator: "Exists"
effect: "NoSchedule"
podAnnotations:
some-annotation: "this is a test"
other-annotation: "another test"
config:
matches:
- excludedNamespaces: ["test-*", "my-namespace"]
processes: ["*"]
disableDefaultMatches: false