kubespray/roles
k8s-infra-cherrypick-robot cd26b379fe
Fix the pretty-printing of (core|nodelocal)dns (#11723)
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.

Co-authored-by: Max Gautier <mg@max.gautier.name>
2024-11-18 08:12:54 +00:00
..
adduser Do not use ‘yes/no’ for boolean values (#11472) 2024-08-28 06:30:56 +01:00
bastion-ssh-config Improving yamllint configuration (#11389) 2024-07-25 18:42:20 -07:00
bootstrap-os fix task naming in bootstrap-os (#11719) 2024-11-17 18:06:52 +00:00
container-engine Drop support for RHEL 7 / CentOS 7 (#11246) 2024-09-05 07:41:01 +01:00
download Remove kubeadm_version and use kube_version instead (#11473) 2024-08-28 06:34:56 +01:00
etcd Always copy cert generation scripts to first etcd (#11615) 2024-10-09 12:52:23 +01:00
etcdctl_etcdutl Do not use ‘yes/no’ for boolean values (#11472) 2024-08-28 06:30:56 +01:00
helm-apps force update helm repo if exists on host (#11043) 2024-04-08 19:02:48 -07:00
kubernetes Drop support for RHEL 7 / CentOS 7 (#11246) 2024-09-05 07:41:01 +01:00
kubernetes-apps Fix the pretty-printing of (core|nodelocal)dns (#11723) 2024-11-18 08:12:54 +00:00
kubespray-defaults Add hashes for Kubernetes 1.30.6 (new default), 1.30.5, 1.29.8-10, 1.28.13-15 (#11673) 2024-10-31 08:25:26 +00:00
network_plugin update calico template (#11676) 2024-10-31 08:21:26 +00:00
recover_control_plane Do not use ‘yes/no’ for boolean values (#11472) 2024-08-28 06:30:56 +01:00
remove-node fix: incorrect member matching when removing etcd nodes (#11488) 2024-08-31 08:20:44 +01:00
reset Do not use ‘yes/no’ for boolean values (#11472) 2024-08-28 06:30:56 +01:00
upgrade Do not use ‘yes/no’ for boolean values (#11472) 2024-08-28 06:30:56 +01:00
win_nodes/kubernetes_patch Do not use ‘yes/no’ for boolean values (#11472) 2024-08-28 06:30:56 +01:00