Skip to content

Commit f9770c5

Browse files
Merge pull request #27481 from lbarbeevargas/BZ-1892614-pull-secret-txt
BZ-1892614 Update the optional pull-secret procedure
2 parents f27deee + 26114d1 commit f9770c5

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

modules/ipi-install-creating-a-disconnected-registry.adoc

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -166,11 +166,11 @@ Replace `<username>` with the user name and `<passwd>` with the password.
166166
[user@registry ~]$ AUTHSTRING="{\"$host_fqdn:5000\": {\"auth\": \"$b64auth\",\"email\": \"[email protected]\"}}"
167167
----
168168

169-
. Update the pull-secret file.
169+
. Update the `pull-secret.txt` file.
170170
+
171171
[source,terminal]
172172
----
173-
[user@registry ~]$ jq ".auths += $AUTHSTRING" < pull-secret.json > pull-secret-update.json
173+
[user@registry ~]$ jq ".auths += $AUTHSTRING" < pull-secret.txt > pull-secret-update.txt
174174
----
175175

176176
== Mirroring the repository (optional)
@@ -189,15 +189,15 @@ Replace `<username>` with the user name and `<passwd>` with the password.
189189
[source,terminal]
190190
----
191191
[user@registry ~]$ /usr/local/bin/oc adm release mirror \
192-
-a pull-secret-update.json
192+
-a pull-secret-update.txt
193193
--from=$UPSTREAM_REPO \
194194
--to-release-image=$LOCAL_REG/$LOCAL_REPO:${VERSION} \
195195
--to=$LOCAL_REG/$LOCAL_REPO
196196
----
197197

198198
== Modify the `install-config.yaml` file to use the disconnected registry (optional)
199199

200-
On the provisioner node, the `install-config.yaml` file should use the newly created pull-secret from the `pull-secret-update.json` file. The `install-config.yaml` file must also contain the disconnected registry node's certificate and registry information.
200+
On the provisioner node, the `install-config.yaml` file should use the newly created pull-secret from the `pull-secret-update.txt` file. The `install-config.yaml` file must also contain the disconnected registry node's certificate and registry information.
201201

202202
.Procedure
203203

0 commit comments

Comments
 (0)