compliance-operator icon indicating copy to clipboard operation
compliance-operator copied to clipboard

Have optional result server

Open Vincent056 opened this issue 6 months ago • 9 comments

Adding a Disabled filed in ScanSetting.Spec.RawResultStorage.Disabled, defaulting to false, if setting to true we will not create a result server to store the arf report.

[vincent@node compliance-operator]$ oc get scansetting default -o yaml
apiVersion: compliance.openshift.io/v1alpha1
kind: ScanSetting
maxRetryOnTimeout: 3
metadata:
  creationTimestamp: "2024-08-15T03:38:11Z"
  generation: 2
  name: default
  namespace: openshift-compliance
  resourceVersion: "5259950"
  uid: 7f066043-772e-4c8b-a681-104ffec96a0c
rawResultStorage:
  disabled: true
  nodeSelector:
    node-role.kubernetes.io/master: ""
  pvAccessModes:
  - ReadWriteOnce
  rotation: 3
  size: 1Gi
  tolerations:
  - effect: NoSchedule
    key: node-role.kubernetes.io/master
    operator: Exists
  - effect: NoExecute
    key: node.kubernetes.io/not-ready
    operator: Exists
    tolerationSeconds: 300
  - effect: NoExecute
    key: node.kubernetes.io/unreachable
    operator: Exists
    tolerationSeconds: 300
  - effect: NoSchedule
    key: node.kubernetes.io/memory-pressure
    operator: Exists
roles:
- master
- worker
scanTolerations:
- operator: Exists
schedule: 0 1 * * *
showNotApplicable: false
strictNodeScan: true
suspend: false
timeout: 30m

Vincent056 avatar Aug 14 '24 22:08 Vincent056