kubespray/roles
Max Gautier 145a7942e5 Fix the pretty-printing of (core|nodelocal)dns
When using
dns_upstream_forward_extra_opts:
  prefer_udp: "" # the option as no value so use empty string to just
                 # put the key

This is rendered in the dns configmap as ($ for end-of-line)

...
  prefer_udp $
...

Note the trailing space.
This triggers https://github.com/kubernetes/kubernetes/issues/36222,
which makes the configmap hardly readable when editing them manually or
simply putting them in a yaml file for inspection.

Trim the concatenation of option + value to get rid of any trailing
space.
2024-11-18 07:08:06 +00:00
..
adduser Update to ansible 2.15 (#10481) 2023-11-15 09:39:09 +01:00
bastion-ssh-config Update to ansible 2.15 (#10481) 2023-11-15 09:39:09 +01:00
bootstrap-os Check CentOS-Base.repo exists for CentOS 7 (#11546) 2024-09-18 02:40:43 +01:00
container-engine Remove the archived debian apt repository (#11215) 2024-05-19 15:11:26 -07:00
download Fix download retry when get_url has no status_code. (#10613) 2024-01-04 04:00:47 +01:00
etcd Always copy cert generation scripts to first etcd (#11614) 2024-10-12 03:36:20 +01:00
etcdctl_etcdutl fix copy etcdctl retries (#10634) 2023-11-28 10:52:03 +01:00
helm-apps Fix outdated tag and experimental ansible-lint rules (#10254) 2023-06-30 02:51:57 -07:00
kubernetes Fix ntp installation on SLES and openSUSE (#10786) 2024-01-12 04:03:35 +01:00
kubernetes-apps Fix the pretty-printing of (core|nodelocal)dns 2024-11-18 07:08:06 +00:00
kubespray-defaults Use last patch version as default for several components 2024-09-12 09:37:36 +02:00
network_plugin [cherry-pick] Add configuration to create cilium CNI plugin file when cilium>=1.14.0 (#10966) (#10985) 2024-03-07 07:59:09 -08:00
recover_control_plane Fixup recover control plane playbook + add debian12/cilium test (#10411) 2023-09-05 10:42:52 -07:00
remove-node Resolve ansible-lint name errors (#10253) 2023-07-26 07:36:22 -07:00
reset systemd-resolved: use a drop-in for kubespray dns (#10732) 2023-12-21 09:52:14 +01:00
upgrade pre-upgrade cleanup (#10656) 2023-11-28 22:49:56 +01:00
win_nodes/kubernetes_patch project: resolve ansible-lint key-order rule (#10314) 2023-08-10 00:57:27 -07:00