@@ -14,73 +14,49 @@ By default, the Compliance Operator creates the following `ScanSetting` objects:
14
14
.Example `ScanSetting` object
15
15
[source,yaml]
16
16
----
17
- Name: default-auto-apply
18
- Namespace: openshift-compliance
19
- Labels: <none>
20
- Annotations: <none>
21
- API Version: compliance.openshift.io/v1alpha1
22
- Auto Apply Remediations: true
23
- Auto Update Remediations: true
24
- Kind: ScanSetting
25
- Metadata:
26
- Creation Timestamp: 2022-10-18T20:21:00Z
27
- Generation: 1
28
- Managed Fields:
29
- API Version: compliance.openshift.io/v1alpha1
30
- Fields Type: FieldsV1
31
- fieldsV1:
32
- f:autoApplyRemediations: <1>
33
- f:autoUpdateRemediations: <2>
34
- f:rawResultStorage:
35
- .:
36
- f:nodeSelector:
37
- .:
38
- f:node-role.kubernetes.io/master:
39
- f:pvAccessModes:
40
- f:rotation:
41
- f:size:
42
- f:tolerations:
43
- f:roles:
44
- f:scanTolerations:
45
- f:schedule:
46
- f:showNotApplicable:
47
- f:strictNodeScan:
48
- Manager: compliance-operator
49
- Operation: Update
50
- Time: 2022-10-18T20:21:00Z
51
- Resource Version: 38840
52
- UID: 8cb0967d-05e0-4d7a-ac1c-08a7f7e89e84
53
- Raw Result Storage:
54
- Node Selector:
55
- node-role.kubernetes.io/master:
56
- Pv Access Modes:
57
- ReadWriteOnce
58
- Rotation: 3 <3>
59
- Size: 1Gi <4>
60
- Tolerations:
61
- Effect: NoSchedule
62
- Key: node-role.kubernetes.io/master
63
- Operator: Exists
64
- Effect: NoExecute
65
- Key: node.kubernetes.io/not-ready
66
- Operator: Exists
67
- Toleration Seconds: 300
68
- Effect: NoExecute
69
- Key: node.kubernetes.io/unreachable
70
- Operator: Exists
71
- Toleration Seconds: 300
72
- Effect: NoSchedule
73
- Key: node.kubernetes.io/memory-pressure
74
- Operator: Exists
75
- Roles: <6>
76
- master
77
- worker
78
- Scan Tolerations:
79
- Operator: Exists
80
- Schedule: "0 1 * * *" <5>
81
- Show Not Applicable: false
82
- Strict Node Scan: true
83
- Events: <none>
17
+ apiVersion: compliance.openshift.io/v1alpha1
18
+ autoApplyRemediations: true <1>
19
+ autoUpdateRemediations: true <2>
20
+ kind: ScanSetting
21
+ maxRetryOnTimeout: 3
22
+ metadata:
23
+ creationTimestamp: "2022-10-18T20:21:00Z"
24
+ generation: 1
25
+ name: default-auto-apply
26
+ namespace: openshift-compliance
27
+ resourceVersion: "38840"
28
+ uid: 8cb0967d-05e0-4d7a-ac1c-08a7f7e89e84
29
+ rawResultStorage:
30
+ nodeSelector:
31
+ node-role.kubernetes.io/master: ""
32
+ pvAccessModes:
33
+ - ReadWriteOnce
34
+ rotation: 3 <3>
35
+ size: 1Gi <4>
36
+ tolerations:
37
+ - effect: NoSchedule
38
+ key: node-role.kubernetes.io/master
39
+ operator: Exists
40
+ - effect: NoExecute
41
+ key: node.kubernetes.io/not-ready
42
+ operator: Exists
43
+ tolerationSeconds: 300
44
+ - effect: NoExecute
45
+ key: node.kubernetes.io/unreachable
46
+ operator: Exists
47
+ tolerationSeconds: 300
48
+ - effect: NoSchedule
49
+ key: node.kubernetes.io/memory-pressure
50
+ operator: Exists
51
+ roles: <6>
52
+ - master
53
+ - worker
54
+ scanTolerations:
55
+ - operator: Exists
56
+ schedule: 0 1 * * * <5>
57
+ showNotApplicable: false
58
+ strictNodeScan: true
59
+ timeout: 30m
84
60
----
85
61
<1> Set to `true` to enable auto remediations. Set to `false` to disable auto remediations.
86
62
<2> Set to `true` to enable auto remediations for content updates. Set to `false` to disable auto remediations for content updates.
0 commit comments