This is to deploy the Compliance Operator into an OpenShift 4.6 or later cluster. This operator provides compliance scanning based on selectable set of rules.
Reference on of the operator/overlay
directories. For example:
oc apply -k compliance-operator/operator/overlays/release-0.1?ref=main
Or as part of your own kustomization.yaml
file:
kind: Kustomization
apiVersion: kustomize.config.k8s.io/v1beta1
resources:
- github.com/redhat-cop/gitops-catalog/compliance-operator/operator/overlays/release-0.1?ref=main
If you would also like to run scans, you can try one of the sample scans available in the instance/overlays
directory.
If you would like to deploy the operator and run a scan all in one line, use on of the aggregate
directories, for example:
oc apply -k https://github.com/redhat-cop/gitops-catalog/compliance-operator/aggregate/demo?ref=main