kubespray/roles/container-engine/containerd
Seena Fallah 7f90fc7b12
containerd: simplify registry mirror template (#11326)
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>
2024-10-08 08:46:22 +01:00
..
defaults update containerd_max_container_log_line_size default value (#11585) 2024-09-30 09:12:03 +01:00
handlers Do not use ‘yes/no’ for boolean values (#11472) 2024-08-28 06:30:56 +01:00
meta containerd: add hashes for 1.5.8 and 1.4.12 and make 1.5.8 the new default (#8239) 2021-12-03 12:20:35 -08:00
molecule/default Do not use ‘yes/no’ for boolean values (#11472) 2024-08-28 06:30:56 +01:00
tasks Do not use ‘yes/no’ for boolean values (#11472) 2024-08-28 06:30:56 +01:00
templates containerd: simplify registry mirror template (#11326) 2024-10-08 08:46:22 +01:00
vars project: fix var-spacing ansible rule (#10266) 2023-07-04 20:36:54 -07:00