1
0
mirror of https://github.com/openshift/openshift-docs.git synced 2026-02-05 12:46:18 +01:00
Files
openshift-docs/modules/insights-operator-configuring-sca.adoc

49 lines
1.9 KiB
Plaintext

// Module included in the following assemblies:
//
// * support/remote_health_monitoring/insights-operator-simple-access.adoc
:_mod-docs-content-type: PROCEDURE
[id="insights-operator-configuring-sca_{context}"]
= 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.
ifndef::openshift-rosa,openshift-dedicated[]
* You are logged in to the {product-title} web console as a user with the `cluster-admin` role.
endif::openshift-rosa,openshift-dedicated[]
ifdef::openshift-rosa,openshift-dedicated[]
* You are logged in to the {product-title} web console as a user with the `dedicated-admin` role.
endif::openshift-rosa,openshift-dedicated[]
* The *insights-config* `ConfigMap` object exists in the `openshift-insights` namespace.
.Procedure
. Go to *Workloads* -> *ConfigMaps* and select *Project: openshift-insights*.
. Click on the *insights-config* `ConfigMap` object to open it.
. Click *Actions* and select *Edit ConfigMap*.
. Click the *YAML view* radio button.
. Set the `sca` attribute in the file to `interval: 2h` to import content every two hours.
+
[source,yaml]
----
apiVersion: v1
kind: ConfigMap
# ...
data:
config.yaml: |
sca:
interval: 2h
# ...
----
. Click *Save*. The *insights-config* config-map details page opens.
. Verify that the value of the `config.yaml` `sca` attribute is set to `interval: 2h`.