mirror of
https://github.com/openshift/openshift-docs.git
synced 2026-02-06 06:46:26 +01:00
28 lines
1.1 KiB
Plaintext
28 lines
1.1 KiB
Plaintext
// Module included in the following assemblies:
|
|
//
|
|
// * updating/updating-restricted-network-cluster.adoc
|
|
|
|
[id="update-restricted_{context}"]
|
|
= Upgrading the restricted network cluster
|
|
|
|
Update the restricted network cluster to the {product-title} version that you downloaded the release images for.
|
|
|
|
.Prerequisites
|
|
|
|
* You mirrored the images for the new release to your registry.
|
|
* You applied the release image signature ConfigMap for the new release to your cluster.
|
|
* You obtained the sha256 sum value for the release from the image signature ConfigMap.
|
|
* Install the OpenShift CLI (`oc`), version 4.4.8 or later.
|
|
|
|
.Procedure
|
|
|
|
* Update the cluster:
|
|
+
|
|
[source,terminal]
|
|
----
|
|
$ oc adm upgrade --allow-explicit-upgrade --to-image ${LOCAL_REGISTRY}/${LOCAL_REPOSITORY}<sha256_sum_value> <1>
|
|
----
|
|
<1> The `<sha256_sum_value>` value is the sha256 sum value for the release from the image signature ConfigMap, for example, `@sha256:81154f5c03294534e1eaf0319bef7a601134f891689ccede5d705ef659aa8c92`
|
|
+
|
|
If you use an `ImageContentSourcePolicy` for the mirror registry, you can use the canonical registry name instead of `LOCAL_REGISTRY`.
|