From: Bruce Ashfield <bruce.ashfield@gmail.com>
To: John Madieu <john.madieu@gmail.com>
Cc: meta-virtualization@lists.yoctoproject.org
Subject: Re: [meta-virtualization][PATCH 2/2] container-registry: default to insecure only without a secure registry
Date: Sun, 29 Nov 2026 21:04:41 -0800 (PST) [thread overview]
Message-ID: <6b0d03e9.a56822fe.c8a21.a227@mx.google.com> (raw)
In-Reply-To: <20261129214819.2587429-3-john.madieu@gmail.com>
> container-registry.conf sets CONTAINER_REGISTRY_INSECURE ?= "1" and
> its header says to override CONTAINER_REGISTRY_SECURE = "1" for a TLS
> registry. Doing just that leaves both variables at 1, and parsing
> stops with "CONTAINER_REGISTRY_SECURE and CONTAINER_REGISTRY_INSECURE
> cannot both be set to '1'", so CONTAINER_REGISTRY_INSECURE = "0" has
> to be set as well.
Thanks for finding this, but I fixed it a different way. What was
wrong is the advice in the fragment header and in build-profiles.md:
container-registry.conf is the insecure registry, so turning secure on
on top of it really is turning on both, and the error is right.
> Derive the default of CONTAINER_REGISTRY_INSECURE from
> CONTAINER_REGISTRY_SECURE, so that the documented override is enough.
> An explicit CONTAINER_REGISTRY_INSECURE still wins.
I'd rather not key one default off the other. Instead there's now a
container-registry-secure.conf fragment, so a TLS registry is just:
require conf/distro/include/container-registry-secure.conf
The insecure fragment and the docs point at it, and including both
fragments is still an error, with a message that says to pick one. It's
on master as "conf/distro: add a secure container registry
fragment" .. let me know if that works for your qemuarm64 setup.
Bruce
next prev parent reply other threads:[~2026-11-30 5:04 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-29 21:48 [meta-virtualization][PATCH 0/2] docker-moby, container-registry: fix check-config and registry defaults John Madieu
2026-11-29 21:48 ` [meta-virtualization][PATCH 1/2] docker-moby: drop the check-config patch for MEMCG_SWAP John Madieu
2026-11-30 5:04 ` Bruce Ashfield
2026-11-29 21:48 ` [meta-virtualization][PATCH 2/2] container-registry: default to insecure only without a secure registry John Madieu
2026-11-30 5:04 ` Bruce Ashfield [this message]
2026-11-30 11:04 ` john madieu
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=6b0d03e9.a56822fe.c8a21.a227@mx.google.com \
--to=bruce.ashfield@gmail.com \
--cc=john.madieu@gmail.com \
--cc=meta-virtualization@lists.yoctoproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.