Installing the Compliance Operator

    Prerequisites

    • You must have privileges.

    Procedure

    1. In the OKD web console, navigate to OperatorsOperatorHub.

    2. Search for the Compliance Operator, then click Install.

    3. Keep the default selection of Installation mode and namespace to ensure that the Operator will be installed to the openshift-compliance namespace.

    4. Click Install.

    Verification

    1. Navigate to the OperatorsInstalled Operators page.

    2. Check that the Compliance Operator is installed in the openshift-compliance namespace and its status is Succeeded.

    If the Operator is not installed successfully:

    1. Navigate to the OperatorsInstalled Operators page and inspect the Status column for any errors or failures.

    2. Navigate to the WorkloadsPods page and check the logs in any pods in the openshift-compliance project that are reporting issues.

    Prerequisites

    • You must have admin privileges.

    Procedure

    1. Create the object YAML file by running:

      Example output

      1. apiVersion: operators.coreos.com/v1
      2. kind: OperatorGroup
      3. metadata:
      4. name: compliance-operator
      5. namespace: openshift-compliance
      6. spec:
      7. targetNamespaces:
      8. - openshift-compliance

    Verification

    1. Verify that the Compliance Operator is up and running: