kubespray/roles/kubernetes-apps
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
..
ansible Fix the pretty-printing of (core|nodelocal)dns (#11723) 2024-11-18 08:12:54 +00:00
argocd Do not use ‘yes/no’ for boolean values (#11472) 2024-08-28 06:30:56 +01:00
cloud_controller/oci Improving yamllint configuration (#11389) 2024-07-25 18:42:20 -07:00
cluster_roles Do not use ‘yes/no’ for boolean values (#11472) 2024-08-28 06:30:56 +01:00
container_engine_accelerator Drop support for RHEL 7 / CentOS 7 (#11246) 2024-09-05 07:41:01 +01:00
container_runtimes Improving yamllint configuration (#11389) 2024-07-25 18:42:20 -07:00
csi_driver Do not use ‘yes/no’ for boolean values (#11472) 2024-08-28 06:30:56 +01:00
external_cloud_controller Improving yamllint configuration (#11389) 2024-07-25 18:42:20 -07:00
external_provisioner Improving yamllint configuration (#11389) 2024-07-25 18:42:20 -07:00
gateway_api Feat: Gateway API CRDs install support (#11376) 2024-08-31 08:24:45 +01:00
helm Do not use ‘yes/no’ for boolean values (#11472) 2024-08-28 06:30:56 +01:00
ingress_controller Improving yamllint configuration (#11389) 2024-07-25 18:42:20 -07:00
krew Do not use ‘yes/no’ for boolean values (#11472) 2024-08-28 06:30:56 +01:00
kubelet-csr-approver Update kubelet-csr-approver to v1.1.0 (#11070) 2024-04-10 18:57:02 -07:00
meta Feat: Gateway API CRDs install support (#11376) 2024-08-31 08:24:45 +01:00
metallb Improving yamllint configuration (#11389) 2024-07-25 18:42:20 -07:00
metrics_server Improving yamllint configuration (#11389) 2024-07-25 18:42:20 -07:00
network_plugin Do not use ‘yes/no’ for boolean values (#11472) 2024-08-28 06:30:56 +01:00
node_feature_discovery Update node-feature-discovery to v0.16.4 (#11250) 2024-08-19 05:59:30 -07:00
persistent_volumes Improving yamllint configuration (#11389) 2024-07-25 18:42:20 -07:00
policy_controller Improving yamllint configuration (#11389) 2024-07-25 18:42:20 -07:00
registry Improving yamllint configuration (#11389) 2024-07-25 18:42:20 -07:00
scheduler_plugins Improving yamllint configuration (#11389) 2024-07-25 18:42:20 -07:00
snapshots Improving yamllint configuration (#11389) 2024-07-25 18:42:20 -07:00