5.4.2.7. ProfileBundle 오브젝트
Compliance Operator를 설치하면 즉시 실행 가능한 ProfileBundle 오브젝트가 포함됩니다. Compliance Operator는 ProfileBundle 오브젝트를 구문 분석하고 번들의 각 프로필에 대해 Profile 오브젝트를 생성합니다. 또한 Profile 오브젝트에서 사용하는 Rule 및 Variable 오브젝트를 구문 분석합니다.
ProfileBundle 오브젝트의 예
apiVersion: compliance.openshift.io/v1alpha1
kind: ProfileBundle
name: <profile bundle name>
namespace: openshift-compliance
status:
dataStreamStatus: VALID
다음과 같습니다.
status.dataStreamStatus-
Compliance Operator가 콘텐츠 파일을 구문 분석할 수 있는지 여부를 지정합니다. 구문 분석 시 값은
VALID입니다.
contentFile 이 실패하면 발생한 오류에 대한 세부 정보를 제공하는 errorMessage 속성이 표시됩니다.
문제 해결
유효하지 않은 이미지의 알려진 콘텐츠 이미지로 롤백하면 ProfileBundle 오브젝트가 응답을 중지하고 PENDING 상태를 표시합니다. 이 문제를 해결하려면 이전 이미지와 다른 이미지로 이동하거나 ProfileBundle 오브젝트를 삭제하고 다시 생성하여 작동 상태로 돌아갈 수 있습니다.