7f90fc7b12
Simplify registry mirror rendering in config.toml. The map filter can extract the host list from mirrors so we can just unique them and render them without needing to construct vars for it. For the registry mirror tls section, we can first extract mirrors from the dict then filter on only the ones having skip_veridy defined first and then filter on the ones having true (as the dict might not have skip_verify defined and that would cause errors of undefined var). This will speed up and simply the templating. Signed-off-by: Seena Fallah <seenafallah@gmail.com> |
||
---|---|---|
.. | ||
config.toml.j2 | ||
containerd.service.j2 | ||
hosts.toml.j2 | ||
http-proxy.conf.j2 |