Files
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
..
2023-11-15 09:39:09 +01:00
2023-11-28 22:49:56 +01:00