Verify and manage entitlement secrets

To verify the imported entitlement secrets, list architecture-specific secrets and change the import behavior with the Insights Operator configuration.

Prerequisites
  • You have cluster-admin permissions for the OpenShift Container Platform cluster.

  • You have set Simple Content Access (SCA) to Enabled in the Red Hat Hybrid Cloud Console or your Red Hat Satellite instance.

  • You have registered the cluster with Red Hat OpenShift Cluster Manager and have an active connection to the internet or a proxy to reach Red Hat services.

  • You have confirmed that the insights-config ConfigMap exists in the openshift-insights namespace.

Procedure
  • To list the secrets in the openshift-config-managed namespace, run the following command in a terminal:

    $ oc get secrets -n openshift-config-managed | grep etc-pki-entitlement
Verification
  • Verify that the secrets match the cluster architecture (for example, -amd64 or -arm64) by checking the output of the list command to ensure the relevant secrets are present. The output shows secrets that include the name of the cluster’s architecture, and look similar to the following:

    etc-pki-entitlement                 Opaque                    2      28h
    etc-pki-entitlement-amd64           Opaque                    2      88s
    etc-pki-entitlement-arm64           Opaque                    2      88s