1
0
mirror of https://github.com/openshift/openshift-docs.git synced 2026-02-06 06:46:26 +01:00
Files
openshift-docs/modules/compliance-profilebundle.adoc
2020-11-19 13:47:12 +00:00

27 lines
900 B
Plaintext

// Module included in the following assemblies:
//
// * security/compliance_operator/compliance-operator-manage.adoc
[id="compliance-profilebundle_{context}"]
= `ProfileBundle` example
The bundle object needs two pieces of information: the URL of a container image that contains the `contentImage` and the file that contains the compliance content. The `contentFile` parameter is relative to the root of the file system. The built-in `rhcos4` `ProfileBundle` can be defined in the example below:
[source,yaml]
----
apiVersion: compliance.openshift.io/v1alpha1
kind: ProfileBundle
metadata:
name: rhcos4
spec:
contentImage: quay.io/complianceascode/ocp4:latest <1>
contentFile: ssg-rhcos4-ds.xml <2>
----
<1> Content image location.
<2> File containing the compliance content location.
[IMPORTANT]
====
The base image used for the content images must include `coreutils`.
====