-
Notifications
You must be signed in to change notification settings - Fork 224
/
results.yaml
executable file
·66 lines (66 loc) · 1.77 KB
/
results.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
apiVersion: kpt.dev/v1
kind: FunctionResultList
metadata:
name: fnresults
exitCode: 1
items:
- image: gcr.io/kpt-fn/gatekeeper:v0.1.3
exitCode: 0
results:
- message: |-
The following banned keys are being used in the ConfigMap: {"private_key"}
violatedConstraint: no-secrets-in-configmap
severity: warning
resourceRef:
apiVersion: v1
kind: ConfigMap
name: some-secret
namespace: default
file:
path: resources.yaml
index: 4
- message: |-
The following banned keys are being used in the ConfigMap: {"less_sensitive_key"}
violatedConstraint: no-sensitive-data-in-configmap
severity: info
resourceRef:
apiVersion: v1
kind: ConfigMap
name: some-secret
namespace: default
file:
path: resources.yaml
index: 4
- image: gcr.io/kpt-fn/kubeval:v0.1.1
exitCode: 1
results:
- message: selector is required
severity: error
resourceRef:
apiVersion: apps/v1
kind: Deployment
name: nginx-deployment
field:
path: selector
file:
path: resources.yaml
- message: template is required
severity: error
resourceRef:
apiVersion: apps/v1
kind: Deployment
name: nginx-deployment
field:
path: template
file:
path: resources.yaml
- message: 'Invalid type. Expected: [integer,null], given: string'
severity: error
resourceRef:
apiVersion: apps/v1
kind: Deployment
name: nginx-deployment
field:
path: spec.replicas
file:
path: resources.yaml