[feature] Add coredns_additional_configs to handle any extra configurations for coredns deployment (#10023) (#10025)
parent
c880b24a80
commit
4313c13656
|
@ -13,6 +13,10 @@ coredns_ordinal_suffix: ""
|
|||
coredns_deployment_nodeselector: "kubernetes.io/os: linux"
|
||||
coredns_default_zone_cache_block: |
|
||||
cache 30
|
||||
# coredns_additional_configs adds any extra configuration to coredns
|
||||
# coredns_additional_configs: |
|
||||
# whoami
|
||||
# local
|
||||
|
||||
# dns_upstream_forward_extra_opts apply to coredns forward section as well as nodelocaldns upstream target forward section
|
||||
# dns_upstream_forward_extra_opts:
|
||||
|
|
|
@ -31,6 +31,9 @@ data:
|
|||
{% endfor %}
|
||||
{% endif %}
|
||||
.:53 {
|
||||
{% if coredns_additional_configs is defined %}
|
||||
{{ coredns_additional_configs | indent(width=8, first=False) }}
|
||||
{% endif %}
|
||||
errors
|
||||
health {
|
||||
lameduck 5s
|
||||
|
|
Loading…
Reference in New Issue