mirror of
https://github.com/openshift/openshift-docs.git
synced 2026-02-05 21:46:22 +01:00
Fixes: BZ1995435 Added a section on how to change the upstream for both the cases: CLI and web console. Signed-off-by: Servesha Dudhgaonkar <sdudhgao@redhat.com>
27 lines
930 B
Plaintext
27 lines
930 B
Plaintext
// Module included in the following assemblies:
|
|
//
|
|
// * updating/updating-cluster-cli.adoc
|
|
// * updating/updating-cluster-rhel-compute.adoc
|
|
|
|
[id="update-changing-update-server-cli_{context}"]
|
|
= Changing the update server by using the CLI
|
|
|
|
Changing the update server is optional. If you have an OpenShift Update Service (OSUS) installed and configured locally, you must set the URL for the server as the `upstream` to use the local server during updates. The default value for `upstream` is `\https://api.openshift.com/api/upgrades_info/v1/graph`.
|
|
|
|
.Procedure
|
|
|
|
* Change the `upstream` parameter value in the cluster version:
|
|
+
|
|
[source,terminal]
|
|
----
|
|
$ oc patch clusterversion/version --patch '{"spec":{"upstream":"<update-server-url>"}}' --type=merge
|
|
----
|
|
The `<update-server-url>` variable specifies the URL for the update server.
|
|
+
|
|
.Example output
|
|
+
|
|
[source,terminal]
|
|
----
|
|
clusterversion.config.openshift.io/version patched
|
|
----
|