summaryrefslogtreecommitdiff
path: root/test/registries.conf
diff options
context:
space:
mode:
authorValentin Rothberg <rothberg@redhat.com>2021-10-22 16:07:26 +0200
committerValentin Rothberg <rothberg@redhat.com>2021-10-27 14:36:25 +0200
commitff31f2264da1550be97055865dea639eb0882327 (patch)
treef3b3c2f81c1825ac9bbce41e9e16279fccc23604 /test/registries.conf
parent979b6312286b4bd993d7be0413e1e95c4a0bad56 (diff)
downloadpodman-ff31f2264da1550be97055865dea639eb0882327.tar.gz
podman-ff31f2264da1550be97055865dea639eb0882327.tar.bz2
podman-ff31f2264da1550be97055865dea639eb0882327.zip
container create: fix --tls-verify parsing
Make sure that the value is only set if specified on the CLI. c/image already defaults to true but if set in the system context, we'd skip settings in the registries.conf. Fixes: #11933 Signed-off-by: Valentin Rothberg <rothberg@redhat.com>
Diffstat (limited to 'test/registries.conf')
-rw-r--r--test/registries.conf6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/registries.conf b/test/registries.conf
index 0559c9e52..8e4671760 100644
--- a/test/registries.conf
+++ b/test/registries.conf
@@ -15,3 +15,9 @@ location="mirror.gcr.io"
[[registry]]
prefix="docker.io/library"
location="quay.io/libpod"
+
+# For testing #11933 to make sure that registries.conf is consulted unless
+# --tls-verify is used during container creation.
+[[registry]]
+location="localhost:5000"
+insecure=true