Skip to content

Commit 5d79e76

Browse files
authored
Merge pull request #71888 from mburke5678/node-containerRuntimeSearchRegistries-warning-note
OCPBUGS28387: Warning about containerRuntimeSearchRegistries not clear about default behavior
2 parents 00f315b + c07a6d2 commit 5d79e76

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/images-configuration-shortname.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ Using image short names with public registries is strongly discouraged because t
2121
2222
Red Hat internal or private registries typically support the use of image short names.
2323
24-
If you list public registries under the `containerRuntimeSearchRegistries` parameter, you expose your credentials to all the registries on the list and you risk network and registry attacks.
24+
If you list public registries under the `containerRuntimeSearchRegistries` parameter (including the `registry.redhat.io`, `docker.io`, and `quay.io` registries), you expose your credentials to all the registries on the list, and you risk network and registry attacks. Because you can only have one pull secret for pulling images, as defined by the global pull secret, that secret is used to authenticate against every registry in that list. Therefore, if you include public registries in the list, you introduce a security risk.
2525
2626
You cannot list multiple public registries under the `containerRuntimeSearchRegistries` parameter if each public registry requires different credentials and a cluster does not list the public registry in the global pull secret.
2727

0 commit comments

Comments
 (0)