Skip to content

Commit

Permalink
[OKD] Update openshift-client/install download procedures
Browse files Browse the repository at this point in the history
  • Loading branch information
pczarnik committed Sep 10, 2024
1 parent 5e825f1 commit 60e8127
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 10 deletions.
20 changes: 14 additions & 6 deletions modules/cli-installing-cli.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -101,8 +101,9 @@ endif::microshift[]
.Procedure

ifdef::openshift-origin[]
. Navigate to link:https://mirror.openshift.com/pub/openshift-v4/clients/oc/latest/[https://mirror.openshift.com/pub/openshift-v4/clients/oc/latest/] and choose the folder for your operating system and architecture.
. Download `oc.tar.gz`.
. Navigate to link:https://mirror.openshift.com/pub/openshift-v4/x86_64/clients/ocp/[https://mirror.openshift.com/pub/openshift-v4/x86_64/clients/ocp/]
. Choose the folder for the appropriate version, for example, `latest-4.16`
. Download the version of `openshift-client-linux-*.tar.gz` appropriate for your operating system and architecture.
endif::[]
ifndef::openshift-origin,microshift[]
. Navigate to the link:https://access.redhat.com/downloads/content/290[{product-title} downloads page] on the Red Hat Customer Portal.
Expand Down Expand Up @@ -154,8 +155,9 @@ endif::microshift[]
.Procedure

ifdef::openshift-origin[]
. Navigate to link:https://mirror.openshift.com/pub/openshift-v4/clients/oc/latest/[https://mirror.openshift.com/pub/openshift-v4/clients/oc/latest/] and choose the folder for your operating system and architecture.
. Download `oc.zip`.
. Navigate to link:https://mirror.openshift.com/pub/openshift-v4/x86_64/clients/ocp/[https://mirror.openshift.com/pub/openshift-v4/x86_64/clients/ocp/]
. Choose the folder for the appropriate version, for example, `latest-4.16`
. Download `openshift-client-windows.zip`.
endif::[]
ifndef::openshift-origin,microshift[]
. Navigate to the link:https://access.redhat.com/downloads/content/290[{product-title} downloads page] on the Red Hat Customer Portal.
Expand Down Expand Up @@ -200,8 +202,14 @@ endif::microshift[]
.Procedure

ifdef::openshift-origin[]
. Navigate to link:https://mirror.openshift.com/pub/openshift-v4/clients/oc/latest/[https://mirror.openshift.com/pub/openshift-v4/clients/oc/latest/] and choose the folder for your operating system and architecture.
. Download `oc.tar.gz`.
. Navigate to link:https://mirror.openshift.com/pub/openshift-v4/x86_64/clients/ocp/[https://mirror.openshift.com/pub/openshift-v4/x86_64/clients/ocp/]
. Choose the folder for the appropriate version, for example, `latest-4.16`
. Download `openshift-client-mac.tar.gz`.
+
[NOTE]
====
For macOS arm64, download `openshift-client-mac-arm64.tar.gz`.
====
endif::[]
ifndef::openshift-origin,microshift[]
. Navigate to the link:https://access.redhat.com/downloads/content/290[{product-title} downloads page] on the Red Hat Customer Portal.
Expand Down
6 changes: 3 additions & 3 deletions modules/install-sno-generating-the-install-iso-manually.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ ifdef::openshift-origin[]
$ OKD_VERSION=<okd_version> <1>
----
+
<1> Replace `<okd_version>` with the current version, for example, `4.14.0-0.okd-2024-01-26-175629`
<1> Replace `<okd_version>` with the current version, for example, `4.16.0-0.okd-scos-2024-08-21-155613`
endif::openshift-origin[]

. Set the host architecture:
Expand Down Expand Up @@ -71,7 +71,7 @@ ifdef::openshift-origin[]
+
[source,terminal]
----
$ curl -L https://github.com/okd-project/okd/releases/download/$OKD_VERSION/openshift-client-linux-$OKD_VERSION.tar.gz -o oc.tar.gz
$ curl -L https://github.com/okd-project/okd-scos/releases/download/$OKD_VERSION/openshift-client-linux-$OKD_VERSION.tar.gz -o oc.tar.gz
----
+
[source,terminal]
Expand All @@ -98,7 +98,7 @@ ifdef::openshift-origin[]
+
[source,terminal]
----
$ curl -L https://github.com/okd-project/okd/releases/download/$OKD_VERSION/openshift-install-linux-$OKD_VERSION.tar.gz -o openshift-install-linux.tar.gz
$ curl -L https://github.com/okd-project/okd-scos/releases/download/$OKD_VERSION/openshift-install-linux-$OKD_VERSION.tar.gz -o openshift-install-linux.tar.gz
----
endif::openshift-origin[]
+
Expand Down
2 changes: 1 addition & 1 deletion modules/installation-obtaining-installer.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ endif::ash[]
. Navigate to the page for your installation type, download the installation program that corresponds with your host operating system and architecture, and place the file in the directory where you will store the installation configuration files.
endif::[]
ifdef::openshift-origin[]
. Download installer from https://github.com/openshift/okd/releases
. Download installer from https://github.com/okd-project/okd-scos/releases
endif::[]

+
Expand Down

0 comments on commit 60e8127

Please sign in to comment.