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-new-pull-secret-disabled.adoc

42 lines
1.3 KiB
Plaintext

// Module included in the following assemblies:
//
// * support/remote_health_monitoring/remote-health-reporting.adoc
:_mod-docs-content-type: PROCEDURE
[id="insights-operator-new-pull-secret_{context}"]
= Disabling remote health reporting
You can change your existing global cluster pull secret to disable remote health reporting. This configuration disables both Telemetry and the {insights-operator}.
.Prerequisites
ifndef::openshift-rosa,openshift-dedicated[]
* You have access to the cluster as a user with the `cluster-admin` role.
endif::openshift-rosa,openshift-dedicated[]
ifdef::openshift-rosa,openshift-dedicated[]
* You have access to the cluster as a user with the `dedicated-admin` role.
endif::openshift-rosa,openshift-dedicated[]
.Procedure
. Download the global cluster pull secret to your local file system:
+
[source,terminal]
----
$ oc extract secret/pull-secret -n openshift-config --to=.
----
. In a text editor, edit the `.dockerconfigjson` file that you downloaded by removing the `cloud.openshift.com` JSON entry:
+
[source,json]
----
"cloud.openshift.com":{"auth":"<hash>","email":"<email_address>"}
----
. Save the file.
. Update the secret in your cluster. For more information, see "Updating the global cluster pull secret".
+
You might need to wait several minutes for the secret to update in your cluster.