mirror of
https://github.com/kubernetes-sigs/kubespray.git
synced 2026-05-09 18:37:38 -02:30
[feature] Add coredns_additional_configs to handle any extra configurations for coredns deployment (#10023) (#10025)
This commit is contained in:
@@ -13,6 +13,10 @@ coredns_ordinal_suffix: ""
|
|||||||
coredns_deployment_nodeselector: "kubernetes.io/os: linux"
|
coredns_deployment_nodeselector: "kubernetes.io/os: linux"
|
||||||
coredns_default_zone_cache_block: |
|
coredns_default_zone_cache_block: |
|
||||||
cache 30
|
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 apply to coredns forward section as well as nodelocaldns upstream target forward section
|
||||||
# dns_upstream_forward_extra_opts:
|
# dns_upstream_forward_extra_opts:
|
||||||
|
|||||||
@@ -31,6 +31,9 @@ data:
|
|||||||
{% endfor %}
|
{% endfor %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
.:53 {
|
.:53 {
|
||||||
|
{% if coredns_additional_configs is defined %}
|
||||||
|
{{ coredns_additional_configs | indent(width=8, first=False) }}
|
||||||
|
{% endif %}
|
||||||
errors
|
errors
|
||||||
health {
|
health {
|
||||||
lameduck 5s
|
lameduck 5s
|
||||||
|
|||||||
Reference in New Issue
Block a user