Skip to content

Commit 16514ac

Browse files
author
thomasmckay
authored
PROJQUAY-1431 - update image references (#125)
1 parent 1b6bc44 commit 16514ac

11 files changed

+42
-32
lines changed

Makefile

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11

22
build:
3-
@docker run -it --rm --name asciidoctor --detach -v $(CURDIR):/documents/:z asciidoctor/docker-asciidoctor
4-
@-docker exec -it asciidoctor bash -c "source build_docs"
5-
@docker kill asciidoctor
3+
@podman run -it --rm --name asciidoctor --detach -v $(CURDIR):/documents/:z asciidoctor/docker-asciidoctor
4+
@-podman exec -it asciidoctor bash -c "source build_docs"
5+
@podman kill asciidoctor
66

77
view:
88
xdg-open file://$(CURDIR)/dist/welcome.html

modules/attributes.adoc

+13-5
Original file line numberDiff line numberDiff line change
@@ -10,15 +10,23 @@ ifeval::["{productname}" == "Project Quay"]
1010
:productminv: qui-gon
1111
:productrepo: quay.io/projectquay
1212
:clairnewver: qui-gon
13+
:quayimage: quay
14+
:clairimage: clair
15+
:builderimage: quay-builder
16+
:builderqemuimage: quay-builder-qemu-fedoracoreos
1317
endif::[]
1418

1519
ifeval::["{productname}" == "Red Hat Quay"]
1620
:downstream:
1721
:productname: Red Hat Quay
1822
:productversion: 3
19-
:producty: 3.3
20-
:productmin: 3.3.1
21-
:productminv: v3.3.1
22-
:productrepo: quay.io/redhat
23-
:clairnewver: v3.3.1
23+
:producty: 3.4
24+
:productmin: 3.4.0
25+
:productminv: v3.4.0
26+
:productrepo: registry.redhat.io/quay
27+
:clairnewver: v3.4.0
28+
:quayimage: quay-rhel8
29+
:clairimage: clair-rhel8
30+
:builderimage: quay-builder-rhel8
31+
:builderqemuimage: quay-builder-qemu-rhcos
2432
endif::[]

modules/proc_deploy_quay_add.adoc

+2-2
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ the startup process.
5959
--privileged=true \
6060
-v /mnt/quay/config:/conf/stack:Z \
6161
-v /mnt/quay/storage:/datastorage:Z \
62-
-d {productrepo}/quay:{productminv}
62+
-d {productrepo}/{quayimage}:{productminv}
6363
```
6464

6565
. **Open browser to UI**: Once the quay container has started, go to your web browser and
@@ -109,7 +109,7 @@ that is currently stored in `/root/ca.crt`. If not, then remove the line that ad
109109
$ podman run -d --name mirroring-worker \
110110
-v /mnt/quay/config:/conf/stack \
111111
-v /root/ca.crt:/etc/pki/ca-trust/source/anchors/ca.crt \
112-
{productrepo}/quay:{productminv} repomirror
112+
{productrepo}/{quayimage}:{productminv} repomirror
113113
```
114114
. **Log into config tool**: Log into the {productname} Setup Web UI (config tool).
115115
. **Enable repository mirroring**: Scroll down the the Repository Mirroring section

modules/proc_deploy_quay_guided.adoc

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ Here's an example of how to do that:
1212
+
1313
[subs="verbatim,attributes"]
1414
....
15-
# podman run --rm -it --name quay_config -p 8080:8080 {productrepo}/quay:{productminv} config my-secret-password
15+
# podman run --rm -it --name quay_config -p 8080:8080 {productrepo}/{quayimage}:{productminv} config my-secret-password
1616
....
1717

1818
. **Open browser**: When the quay configuration tool starts up, open a browser to the URL and port 8080

modules/proc_deploy_quay_single.adoc

+3-1
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,9 @@ in link:https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/8
2727
# yum update -y
2828
....
2929
30-
. **Add Quay.io authentication**: Set up authentication to Quay.io, so you can pull the quay container, as described in link:https://access.redhat.com/solutions/3533201[Accessing {productname} without a CoreOS login].
30+
ifdef::downstream[]
31+
. **Add registry.redhat.io authentication**: Set up authentication to registry.redhat.io, so you can pull the quay container, as described in link:https://access.redhat.com/RegistryAuthentication[Red Hat Container Registry Authentication]. Note that this differs from earlier {productname} releases where the images were hosted on quay.io.
32+
endif::downstream[]
3133
3234
. **Setup Docker**: Install, enable, and start the docker service as shown here (see link:https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux_atomic_host/7/html-single/getting_started_with_containers/index#getting_docker_in_rhel_7[Getting Docker in RHEL 7] for details):
3335

modules/proc_manage-advanced-config.adoc

+1-1
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ you can simply mount your configuration directory into the Quay container as you
8181
....
8282
# podman run --rm -it --name quay_config -p 8080:8080 \
8383
-v path/to/config-bundle:/conf/stack \
84-
{productrepo}/quay:{productminv} config my-secret-password
84+
{productrepo}/{quayimage}:{productminv} config my-secret-password
8585
....
8686

8787
. **Open browser**: When the quay configuration tool starts up, open a browser to the URL and port 8080

modules/proc_manage-clairv4.adoc

+5-5
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ This will produce a simple JSON response with the percentage of completed manife
4747

4848
[source,json]
4949
```
50-
{"backfill_percent": 73.4}}
50+
{"backfill_percent": 73.4}
5151
```
5252

5353
Once the majority of the images in your registry have been scanned by Clair V4, the Clair V2 deployment should be removed entirely (both running containers and removal from config).
@@ -213,7 +213,7 @@ spec:
213213
quay-component: clair-combo
214214
spec:
215215
containers:
216-
- image: {productrepo}/clair:{productminv} <1>
216+
- image: {productrepo}/{clairimage}:{productminv} <1>
217217
imagePullPolicy: IfNotPresent
218218
name: clair-combo
219219
env:
@@ -341,7 +341,7 @@ More information about Clair's configuration format can be found in link:https:/
341341
. Run Clair via the container image, mounting in the configuration from the file you created.
342342
+
343343
```
344-
$ podman run -p 8080:8080 -p 8089:8089 -e CLAIR_CONF=/clair/config.yaml -e CLAIR_MODE=combo -v /etc/clair4/config:/clair -d {productrepo}/clair:{productminv}
344+
$ podman run -p 8080:8080 -p 8089:8089 -e CLAIR_CONF=/clair/config.yaml -e CLAIR_MODE=combo -v /etc/clair4/config:/clair -d {productrepo}/{clairimage}:{productminv}
345345
```
346346

347347
. Follow the remaining instructions from the previous section for configuring {productname} to use the new Clair V4 endpoint.
@@ -390,13 +390,13 @@ matcher:
390390
. Export out the latest Updater data to a local archive. This requires the `clairctl` tool which can be run directly as a binary, or via the Clair container image. Assume your Clair configuration is in `/etc/clairv4/config/config.yaml`, to run via the container image:
391391
+
392392
```
393-
$ podman run -it --rm -v /etc/clairv4/config:/cfg:Z -v $(pwd):/updaters:Z --entrypoint /bin/clairctl {productrepo}/clair:{productminv} export-updaters --config /cfg/config.yaml /updaters/updaters.gz
393+
$ podman run -it --rm -v /etc/clairv4/config:/cfg:Z -v $(pwd):/updaters:Z --entrypoint /bin/clairctl {productrepo}/{clairimage}:{productminv} export-updaters --config /cfg/config.yaml /updaters/updaters.gz
394394
```
395395
+
396396
Note that you need to explicitly reference the Clair configuration. This will create the Updater archive in `/etc/clairv4/updaters/updaters.gz`. If you want to ensure the archive was created without any errors from the source databases, you can supply the `--strict` flag to `clairctl`. The archive file should be copied over to a volume that is accessible from the disconnected host running Clair. From the disconnected host, use the same procedure now to import the archive into Clair.
397397
+
398398
```
399-
$ podman run -it --rm -v /etc/clairv4/config:/cfg:Z -v $(pwd):/updaters:Z --entrypoint /bin/clairctl {productrepo}/clair:{productminv} import-updaters --config /cfg/config.yaml /updaters/updaters.gz
399+
$ podman run -it --rm -v /etc/clairv4/config:/cfg:Z -v $(pwd):/updaters:Z --entrypoint /bin/clairctl {productrepo}/{clairimage}:{productminv} import-updaters --config /cfg/config.yaml /updaters/updaters.gz
400400
```
401401
+
402402

modules/proc_manage-quay-geo-replication.adoc

+1-1
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ Username: yourquayuser
8989
Password: *****
9090
# docker run -d -p 443:8443 -p 8080:8080 -v /mnt/quay/config:/conf/stack:Z \
9191
-e QUAY_DISTRIBUTED_STORAGE_PREFERENCE=europestorage \
92-
{productrepo}/quay:{productminv}
92+
{productrepo}/{quayimage}:{productminv}
9393
----
9494
endif::downstream[]
9595
+

modules/proc_upgrade_v3.adoc

+6-6
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@ Regardless of which upgrade type you choose, during the time that the {productna
1010
cluster is down, if you are using builder and clair images, you need to also upgrade to
1111
those new images:
1212

13-
* The builder image ({productrepo}/quay-builder:v3.0.5)
14-
* The clair image ({productrepo}/clair-jwt:v3.0.5)
13+
* The builder image (quay.io/redhat/quay-builder:v3.0.5)
14+
* The clair image (quay.io/redhat/clair-jwt:v3.0.5)
1515
1616
Both of those images are available from the {productrepo} repository.
1717

@@ -31,7 +31,7 @@ V3_UPGRADE_MODE: complete
3131
(it should take just a few minutes). Use the following container or later:
3232
+
3333
====
34-
{productrepo}/quay:v3.0.5
34+
quay.io/redhat/quay:v3.0.5
3535
====
3636
+
3737
Note that the quay container comes up on ports 8080 and 8443 for v3, instead
@@ -46,7 +46,7 @@ and 8443 into 80 and 443, respectively, as shown in this example:
4646
--privileged=true \
4747
-v /mnt/quay/config:/conf/stack:Z \
4848
-v /mnt/quay/storage:/datastorage:Z \
49-
-d {productrepo}/quay:v3.0.5
49+
-d quay.io/redhat/quay:v3.0.5
5050
```
5151

5252
. After the upgrade completes, bring the {productname} v3 container up on all other nodes.
@@ -71,7 +71,7 @@ running, but it is running on the old data model while the upgrade completes. He
7171
+
7272
[subs="verbatim,attributes"]
7373
====
74-
{productrepo}/quay:v3.0.5
74+
quay.io/redhat/quay:v3.0.5
7575
====
7676

7777
. Take down your entire {productname} cluster, including any quay-builder and clair containers.
@@ -98,7 +98,7 @@ and 8443 into 80 and 443, respectively, as shown in this example:
9898
--privileged=true \
9999
-v /mnt/quay/config:/conf/stack:Z \
100100
-v /mnt/quay/storage:/datastorage:Z \
101-
-d {productrepo}/quay:v3.0.5
101+
-d quay.io/redhat/quay:v3.0.5
102102
```
103103

104104
. Bring the {productname} v3 container up on all the other nodes.

modules/ref_deploy_quay_openshift.adoc

+3-3
Original file line numberDiff line numberDiff line change
@@ -268,7 +268,7 @@ spec:
268268
spec:
269269
containers:
270270
- name: quay-enterprise-config-app
271-
image: {productrepo}/quay:{productminv}
271+
image: {productrepo}/{quayimage}:{productminv}
272272
ports:
273273
- containerPort: 8443
274274
command: ["/quay-registry/quay-entrypoint.sh"]
@@ -376,7 +376,7 @@ spec:
376376
secretName: quay-enterprise-config-secret
377377
containers:
378378
- name: quay-enterprise-app
379-
image: {productrepo}/quay:{productminv}
379+
image: {productrepo}/{quayimage}:{productminv}
380380
ports:
381381
- containerPort: 8443
382382
volumeMounts:
@@ -670,7 +670,7 @@ spec:
670670
secretName: quay-enterprise-config-secret
671671
containers:
672672
- name: quay-enterprise-mirror-app
673-
image: {productrepo}/quay:{productminv}
673+
image: {productrepo}/{quayimage}:{productminv}
674674
ports:
675675
- containerPort: 8443
676676
volumeMounts:

modules/rn_3_00.adoc

+4-4
Original file line numberDiff line numberDiff line change
@@ -120,11 +120,11 @@ allows {productname} to become better aligned with other Red Hat product offerin
120120

121121
=== {productname} images now in redhat repo on Quay.io
122122
{productname} images formerly stores in the quay.io/coreos repository are moving
123-
to {productrepo} for {productname} version 3. Available images include:
123+
to quay.io/redhat for {productname} version 3. Available images include:
124124

125-
* {productrepo}/quay
126-
* {productrepo}/quay-builder
127-
* {productrepo}/clair-jwt
125+
* quay.io/redhat/quay
126+
* quay.io/redhat/quay-builder
127+
* quay.io/redhat/clair-jwt
128128

129129
Earlier version of quay and quay-builder images will remain on quay.io/coreos. For example, quay.io/coreos/quay:v2.9.5.
130130

0 commit comments

Comments
 (0)