@@ -64,7 +64,17 @@ The `az aro` extension allows you to create, access, and delete Azure Red Hat Op
64
64
aro 0.3.0
65
65
...
66
66
```
67
-
67
+
68
+ ### Optionally obtain a Red Hat pull secret
69
+
70
+ A Red Hat pull secret enables your cluster to access Red Hat container registries along with additional content. Its use is optional but recommended.
71
+
72
+ Obtain your pull secret by navigating to https://cloud.redhat.com/openshift/install/azure/aro-provisioned and clicking * Download pull secret* .
73
+
74
+ 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.
75
+
76
+ Keep the saved ` pull-secret.txt ` file somewhere safe, it will be used in each cluster creation.
77
+
68
78
### Create a virtual network containing two empty subnets
69
79
70
80
Follow these steps to create a virtual network containing two empty subnets.
@@ -75,15 +85,7 @@ Follow these steps to create a virtual network containing two empty subnets.
75
85
LOCATION=eastus #the location of your cluster
76
86
RESOURCEGROUP="v4-$LOCATION" #the name of the resource group where you want to create your cluster
77
87
CLUSTER=cluster #the name of your cluster
78
- PULL_SECRET="<optional-pull-secret>"
79
88
```
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
-
87
89
88
90
2 . Create a resource group for your cluster.
89
91
@@ -139,7 +141,7 @@ az aro create \
139
141
--worker-subnet "$CLUSTER-worker" \
140
142
--cluster-resource-group "aro-$CLUSTER" \
141
143
--domain "$CLUSTER" \
142
- --pull-secret "$PULL_SECRET"
144
+ --pull-secret @pull-secret.txt
143
145
```
144
146
145
147
> [ !NOTE]
0 commit comments