Skip to content

Commit 41e0887

Browse files
committed
OCPBUGS-60988: Added update secret step to insights-operator-new-pull-secret
1 parent 419fa45 commit 41e0887

File tree

2 files changed

+18
-7
lines changed

2 files changed

+18
-7
lines changed

modules/insights-operator-new-pull-secret-disabled.adoc

Lines changed: 13 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@
44

55
:_mod-docs-content-type: PROCEDURE
66
[id="insights-operator-new-pull-secret_{context}"]
7-
= Modifying the global cluster pull secret to disable remote health reporting
7+
= Changing the global cluster pull secret to disable remote health reporting
88

9-
You can modify your existing global cluster pull secret to disable remote health reporting. This disables both Telemetry and the Insights Operator.
9+
You can change your existing global cluster pull secret to disable remote health reporting. This configuration disables both Telemetry and the Insights Operator.
1010

1111
.Prerequisites
1212

@@ -19,16 +19,14 @@ endif::openshift-rosa,openshift-dedicated[]
1919

2020
.Procedure
2121

22-
. Download the global cluster pull secret to your local file system.
22+
. Download the global cluster pull secret to your local file system:
2323
+
2424
[source,terminal]
2525
----
2626
$ oc extract secret/pull-secret -n openshift-config --to=.
2727
----
2828

29-
. In a text editor, edit the `.dockerconfigjson` file that was downloaded.
30-
31-
. Remove the `cloud.openshift.com` JSON entry, for example:
29+
. In a text editor, edit the `.dockerconfigjson` file that you downloaded by removing the `cloud.openshift.com` JSON entry:
3230
+
3331
[source,json]
3432
----
@@ -37,4 +35,12 @@ $ oc extract secret/pull-secret -n openshift-config --to=.
3735

3836
. Save the file.
3937

40-
You can now update your cluster to use this modified pull secret.
38+
. Update the secret in your cluster by running the following command:
39+
+
40+
[source,terminal]
41+
----
42+
$ oc set data secret/pull-secret -n openshift-config \
43+
--from-file=.dockerconfigjson=pull-secret
44+
----
45+
+
46+
You might need to wait several minutes for the secret to update in your cluster.

support/remote_health_monitoring/opting-out-of-remote-health-reporting.adoc

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,13 @@ To opt out of remote health reporting, you must:
2424

2525
include::modules/telemetry-consequences-of-disabling-telemetry.adoc[leveloffset=+1]
2626

27+
// Changing the global cluster pull secret to disable remote health reporting
2728
include::modules/insights-operator-new-pull-secret-disabled.adoc[leveloffset=+1]
2829

30+
[role="_additional-resources"]
31+
.Additional resources
32+
* xref:../../support/remote-health-monitoring-with-connected-clusters#images-update-global-pull-secret_opting-out-remote-health-reporting[Modifying your global cluster pull secret to enable remote health reporting]
33+
2934
include::modules/insights-operator-register-disconnected-cluster.adoc[leveloffset=+1]
3035

3136
[role="_additional-resources"]

0 commit comments

Comments
 (0)