Importing simple content access entitlements with Insights Operator

Insights Operator periodically imports your simple content access entitlements from OpenShift Cluster Manager Hybrid Cloud Console 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.

Insights Operator imports simple content access entitlements every eight hours, but can be configured or disabled using the support secret in the openshift-config 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 entitlements by using the support secret in the openshift-config namespace. The entitlement import normally occurs every eight hours, but you can shorten this interval if you update your simple content access configuration in Red Hat Subscription Management.

This procedure describes how to update the import interval to one hour.

Prerequisites

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

Procedure

  1. Navigate to WorkloadsSecrets.

  2. Select the openshift-config project.

  3. Search for the support secret by using the Search by name field. If it does not exist, click CreateKey/value secret to create it.

    • If the secret exists:

      1. Click the Options menu kebab, and then click Edit Secret.

      2. Click Add Key/Value.

        1. In the Key field, enter scaInterval.

        2. In the Value field, enter 1h.

  1. - If the secret does not exist:
  2. 1. Click **Create** **Key/value secret**.
  3. 1. In the **Secret name** field, enter `support`.
  4. 2. In the **Key** field, enter `scaInterval`.
  5. 3. In the **Value** field, enter `1h`.
  6. 2. Click **Create**.
  7. <table><tbody><tr><td><i title="Note"></i></td><td><div><p>The interval <code>1h</code> can also be entered as <code>60m</code> for 60 minutes.</p></div></td></tr></tbody></table>

Disabling simple content access import

You can disable the importing of simple content access entitlements by using the support secret in the openshift-config namespace.

Prerequisites

  • You are logged in to the OKD web console as cluster-admin.

Procedure

  1. Navigate to WorkloadsSecrets.

  2. Select the openshift-config project.

  3. Search for the support secret using the Search by name field.

    • If the secret exists:

      1. Click the Options menu kebab, and then click Edit Secret.

      2. Click Add Key/Value.

        1. In the Key field, enter scaPullDisabled.

        2. In the Value field, enter true.

  1. - If the secret does not exist:
  2. 1. Click **Create** **Key/value secret**.
  3. 1. In the **Secret name** field, enter `support`.
  4. 2. In the **Key** field, enter `scaPullDisabled`.
  5. 3. In the **Value** field, enter `true`.
  6. 2. Click **Create**.
  7. The simple content access entitlement import is now disabled.
  8. <table><tbody><tr><td><i title="Note"></i></td><td><div><p>To enable the simple content access import again, edit the <code>support</code> secret and delete the <code>scaPullDisabled</code> key.</p></div></td></tr></tbody></table>

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

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

Procedure

  1. Navigate to WorkloadsSecrets.

  2. Select the openshift-config project.

  3. Search for the support secret by using the Search by name field.

  4. Click the Options menu kebab, and then click Edit Secret.

  5. For the scaPullDisabled key, set the Value field to false.

    The simple content access entitlement import is now disabled.