mirror of
https://github.com/kubernetes-sigs/kubespray.git
synced 2026-03-21 10:57:41 -02:30
DeprecationWarning occurs when indentfirst=None is specified in coredns-config.yml.j2 (#8224)
This commit is contained in:
@@ -65,5 +65,5 @@ data:
|
|||||||
}
|
}
|
||||||
{% if dns_etchosts | default(None) %}
|
{% if dns_etchosts | default(None) %}
|
||||||
hosts: |
|
hosts: |
|
||||||
{{ dns_etchosts | indent(width=4, indentfirst=None) }}
|
{{ dns_etchosts | indent(width=4, first=False) }}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|||||||
@@ -163,5 +163,5 @@ data:
|
|||||||
{% endif %}
|
{% endif %}
|
||||||
{% if dns_etchosts | default(None) %}
|
{% if dns_etchosts | default(None) %}
|
||||||
hosts: |
|
hosts: |
|
||||||
{{ dns_etchosts | indent(width=4, indentfirst=None) }}
|
{{ dns_etchosts | indent(width=4, first=False) }}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|||||||
@@ -879,7 +879,7 @@ spec:
|
|||||||
apiVersion: v1
|
apiVersion: v1
|
||||||
data:
|
data:
|
||||||
internal-ca.pem: |
|
internal-ca.pem: |
|
||||||
{{ cert_manager_trusted_internal_ca | indent(width=4, indentfirst=False) }}
|
{{ cert_manager_trusted_internal_ca | indent(width=4, first=False) }}
|
||||||
kind: ConfigMap
|
kind: ConfigMap
|
||||||
metadata:
|
metadata:
|
||||||
name: ca-internal-truststore
|
name: ca-internal-truststore
|
||||||
|
|||||||
Reference in New Issue
Block a user