mirror of
https://github.com/openshift/openshift-docs.git
synced 2026-02-05 21:46:22 +01:00
typo1 typo2 syntax corrections typo3 feedback1 morecorrections correctionss syntax fix peer review feedback applied further peer review feedback final qe requested changes
27 lines
897 B
Plaintext
27 lines
897 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 filesystem. 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`.
|
|
====
|