-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathconstraint-describe
101 lines (100 loc) · 3.7 KB
/
constraint-describe
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
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
master/70d30cb3-20c5-4dd2-9fb5-c9c9839c245f:~/k8ss_secrets/labels# kubectl describe ManuPods podrestriction
Name: podrestriction
Namespace:
Labels: <none>
Annotations: <none>
API Version: constraints.gatekeeper.sh/v1beta1
Kind: ManuPods
Metadata:
Creation Timestamp: 2020-12-11T10:05:30Z
Generation: 1
Resource Version: 2632963
Self Link: /apis/constraints.gatekeeper.sh/v1beta1/manupods/podrestriction
UID: 95ab16a9-ca1f-4f3e-8241-003a666ce788
Spec:
Match:
Kinds:
API Groups:
Kinds:
Pod
Status:
Audit Timestamp: 2020-12-11T10:36:53Z
By Pod:
Constraint UID: 95ab16a9-ca1f-4f3e-8241-003a666ce788
Enforced: true
Id: gatekeeper-audit-54d56fdb9d-c6bxs
Observed Generation: 1
Operations:
audit
status
Constraint UID: 95ab16a9-ca1f-4f3e-8241-003a666ce788
Enforced: true
Id: gatekeeper-controller-manager-87c45f4f7-c5zbx
Observed Generation: 1
Operations:
webhook
Constraint UID: 95ab16a9-ca1f-4f3e-8241-003a666ce788
Enforced: true
Id: gatekeeper-controller-manager-87c45f4f7-dsfrj
Observed Generation: 1
Operations:
webhook
Constraint UID: 95ab16a9-ca1f-4f3e-8241-003a666ce788
Enforced: true
Id: gatekeeper-controller-manager-87c45f4f7-mz4f7
Observed Generation: 1
Operations:
webhook
Total Violations: 10
Violations:
Enforcement Action: deny
Kind: Pod
Message: Can not create Pods in kube-system namespace
Name: coredns-54b9777bfc-9tc7c
Namespace: kube-system
Enforcement Action: deny
Kind: Pod
Message: Can not create Pods in kube-system namespace
Name: coredns-54b9777bfc-rmwrq
Namespace: kube-system
Enforcement Action: deny
Kind: Pod
Message: Can not create Pods in kube-system namespace
Name: coredns-54b9777bfc-t4q7j
Namespace: kube-system
Enforcement Action: deny
Kind: Pod
Message: Can not create Pods in kube-system namespace
Name: ebs-csi-controller-587cb4db9b-wrmm9
Namespace: kube-system
Enforcement Action: deny
Kind: Pod
Message: Can not create Pods in kube-system namespace
Name: ebs-csi-controller-587cb4db9b-wz28d
Namespace: kube-system
Enforcement Action: deny
Kind: Pod
Message: Can not create Pods in kube-system namespace
Name: ebs-csi-node-nq26s
Namespace: kube-system
Enforcement Action: deny
Kind: Pod
Message: Can not create Pods in kube-system namespace
Name: ebs-csi-node-zp727
Namespace: kube-system
Enforcement Action: deny
Kind: Pod
Message: Can not create Pods in kube-system namespace
Name: metrics-server-5df78f85b-6g9xn
Namespace: kube-system
Enforcement Action: deny
Kind: Pod
Message: Can not create Pods in kube-system namespace
Name: nginx-86c57db685-4tqjl
Namespace: kube-system
Enforcement Action: deny
Kind: Pod
Message: Can not create Pods in kube-system namespace
Name: ubuntu-85b64f87f8-wglt9
Namespace: kube-system
Events: <none>