Skip to content

Commit 372404a

Browse files
authored
Merge pull request #52301 from jim-minter/patch-2
Update howto-using-azure-redhat-openshift.md
2 parents ba37d5e + 41b95cb commit 372404a

File tree

1 file changed

+14
-10
lines changed

1 file changed

+14
-10
lines changed

articles/openshift/howto-using-azure-redhat-openshift.md

Lines changed: 14 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,19 @@ The `az aro` extension allows you to create, access, and delete Azure Red Hat Op
6464
aro 0.3.0
6565
...
6666
```
67-
67+
68+
### Get a Red Hat pull secret (optional)
69+
70+
A Red Hat pull secret enables your cluster to access Red Hat container registries and additional content. Using a pull secret is optional but recommended.
71+
72+
To get your pull secret:
73+
74+
1. Go to https://cloud.redhat.com/openshift/install/azure/aro-provisioned.
75+
1. Log in to your Red Hat account, or create a new Red Hat account by using your business email; accept the terms and conditions.
76+
1. Select **Download pull secret**.
77+
78+
Save the *pull-secret.txt* file somewhere safe; you will use the file each time you create a cluster.
79+
6880
### Create a virtual network containing two empty subnets
6981

7082
Follow these steps to create a virtual network containing two empty subnets.
@@ -75,15 +87,7 @@ Follow these steps to create a virtual network containing two empty subnets.
7587
LOCATION=eastus #the location of your cluster
7688
RESOURCEGROUP="v4-$LOCATION" #the name of the resource group where you want to create your cluster
7789
CLUSTER=cluster #the name of your cluster
78-
PULL_SECRET="<optional-pull-secret>"
7990
```
80-
>[!NOTE]
81-
> The optional pull secret enables your cluster to access Red Hat container registries along with additional content.
82-
>
83-
> Access your pull secret by navigating to https://cloud.redhat.com/openshift/install/azure/installer-provisioned and clicking *Copy Pull Secret*.
84-
>
85-
> You will need to log in to your Red Hat account, or create a new Red Hat account with your business email and accept the terms and conditions.
86-
8791

8892
2. Create a resource group for your cluster.
8993

@@ -139,7 +143,7 @@ az aro create \
139143
--worker-subnet "$CLUSTER-worker" \
140144
--cluster-resource-group "aro-$CLUSTER" \
141145
--domain "$CLUSTER" \
142-
--pull-secret "$PULL_SECRET"
146+
--pull-secret @pull-secret.txt
143147
```
144148

145149
>[!NOTE]

0 commit comments

Comments
 (0)