[feature] Add coredns_additional_configs to handle any extra configurations for coredns deployment (#10023) (#10025)

pull/10063/head
Navid Nabavi 2023-05-09 17:15:58 +03:30 committed by GitHub
parent c880b24a80
commit 4313c13656
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 7 additions and 0 deletions

View File

@ -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:

View File

@ -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