This is a cache of https://docs.openshift.com/container-platform/4.17/support/remote_health_monitoring/insights-operator-simple-access.html. It is a snapshot of the page at 2024-11-29T06:22:51.476+0000.
Importing simple content access entitlements with Insights Operator - Remote health monitoring with connected clusters | Support | OpenShift Container Platform 4.17
×

Insights Operator periodically imports your simple content access entitlements from OpenShift Cluster Manager and stores them in the etc-pki-entitlement secret in the openshift-config-managed namespace. Simple content access is a capability in Red Hat subscription tools which simplifies the behavior of the entitlement tooling. This feature makes it easier to consume the content provided by your Red Hat subscriptions without the complexity of configuring subscription tooling.

Previously, a cluster administrator would create or edit the Insights Operator configuration using a support secret in the openshift-config namespace. Red Hat Insights now supports the creation of a ConfigMap object to configure the Operator. The Operator gives preference to the config map configuration over the support secret if both exist.

The Insights Operator imports simple content access entitlements every eight hours, but can be configured or disabled using the insights-config ConfigMap object in the openshift-insights namespace.

Simple content access must be enabled in Red Hat Subscription Management for the importing to function.

Additional resources

Configuring simple content access import interval

You can configure how often the Insights Operator imports the simple content access (sca) entitlements by using the insights-config ConfigMap object in the openshift-insights namespace. The entitlement import normally occurs every eight hours, but you can shorten this sca interval if you update your simple content access configuration in the insights-config ConfigMap object.

This procedure describes how to update the import interval to two hours (2h). You can specify hours (h) or hours and minutes, for example: 2h30m.

Prerequisites
  • Remote health reporting is enabled, which is the default.

  • You are logged in to the OpenShift Container Platform web console as a user with the cluster-admin role.

  • The insights-config ConfigMap object exists in the openshift-insights namespace.

Procedure
  1. Go to WorkloadsConfigMaps and select Project: openshift-insights.

  2. Click on the insights-config ConfigMap object to open it.

  3. Click Actions and select Edit ConfigMap.

  4. Click the YAML view radio button.

  5. Set the sca attribute in the file to interval: 2h to import content every two hours.

    apiVersion: v1
    kind: ConfigMap
    # ...
    data:
      config.yaml: |
        sca:
          interval: 2h
    # ...
  6. Click Save. The insights-config config-map details page opens.

  7. Verify that the value of the config.yaml sca attribute is set to interval: 2h.

Disabling simple content access import

You can disable the importing of simple content access entitlements by using the insights-config ConfigMap object in the openshift-insights namespace.

Prerequisites
  • Remote health reporting is enabled, which is the default.

  • You are logged in to the OpenShift Container Platform web console as cluster-admin.

  • The insights-config ConfigMap object exists in the openshift-insights namespace.

Procedure
  1. Go to WorkloadsConfigMaps and select Project: openshift-insights.

  2. Click on the insights-config ConfigMap object to open it.

  3. Click Actions and select Edit ConfigMap.

  4. Click the YAML view radio button.

  5. In the file, set the sca attribute to disabled: true.

    apiVersion: v1
    kind: ConfigMap
    # ...
    data:
      config.yaml: |
        sca:
          disabled: true
    # ...
  6. Click Save. The insights-config config-map details page opens.

  7. Verify that the value of the config.yaml sca attribute is set to disabled: true.

Enabling a previously disabled simple content access import

If the importing of simple content access entitlements is disabled, the Insights Operator does not import simple content access entitlements. You can change this behavior.

Prerequisites
  • Remote health reporting is enabled, which is the default.

  • You are logged in to the OpenShift Container Platform web console as a user with the cluster-admin role.

  • The insights-config ConfigMap object exists in the openshift-insights namespace.

Procedure
  1. Go to WorkloadsConfigMaps and select Project: openshift-insights.

  2. Click on the insights-config ConfigMap object to open it.

  3. Click Actions and select Edit ConfigMap.

  4. Click the YAML view radio button.

  5. In the file, set the sca attribute to disabled: false.

    apiVersion: v1
    kind: ConfigMap
    # ...
    data:
      config.yaml: |
        sca:
          disabled: false
    # ...
  6. Click Save. The insights-config config-map details page opens.

  7. Verify that the value of the config.yaml sca attribute is set to disabled: false.