diff --git a/roles/internal-dns/defaults/main.yaml b/roles/internal-dns/defaults/main.yaml index 243b400..21bb614 100644 --- a/roles/internal-dns/defaults/main.yaml +++ b/roles/internal-dns/defaults/main.yaml @@ -10,7 +10,7 @@ internal_dns_default_values: zone: "{{ internal_domain | default(domain) }}" tsigSecret: "{{ k8s_tsig }}" tsigSecretAlg: "{{ internal_dns_tsigSecretAlg | default('hmac-sha512') }}" - tsigKeyname: "{{ internal_dns_tsigKeyname | default('k8s') }}" + tsigKeyname: "{{ internal_dns_tsigKeyname | default(namespace) }}" tsigAxfr: true ## Possible units [ns, us, ms, s, m, h], see more https://golang.org/pkg/time/#ParseDuration minTTL: "30s" diff --git a/roles/local-dns/defaults/main.yaml b/roles/local-dns/defaults/main.yaml index ff5c429..2e72c2a 100644 --- a/roles/local-dns/defaults/main.yaml +++ b/roles/local-dns/defaults/main.yaml @@ -10,7 +10,7 @@ local_dns_default_values: zone: "{{ local_domain }}" tsigSecret: "{{ k8s_tsig }}" tsigSecretAlg: "{{ local_dns_tsigSecretAlg | default('hmac-sha512') }}" - tsigKeyname: "{{ local_dns_tsigKeyname | default('k8s') }}" + tsigKeyname: "{{ local_dns_tsigKeyname | default(namespace) }}" tsigAxfr: true ## Possible units [ns, us, ms, s, m, h], see more https://golang.org/pkg/time/#ParseDuration minTTL: "30s" diff --git a/roles/service-dns/defaults/main.yaml b/roles/service-dns/defaults/main.yaml index f8522d4..efc262e 100644 --- a/roles/service-dns/defaults/main.yaml +++ b/roles/service-dns/defaults/main.yaml @@ -10,7 +10,7 @@ service_dns_default_values: zone: "{{ service_domain | default(domain) }}" tsigSecret: "{{ k8s_tsig }}" tsigSecretAlg: "{{ service_dns_tsigSecretAlg | default('hmac-sha512') }}" - tsigKeyname: "{{ service_dns_tsigKeyname | default('k8s') }}" + tsigKeyname: "{{ service_dns_tsigKeyname | default(namespace) }}" tsigAxfr: true ## Possible units [ns, us, ms, s, m, h], see more https://golang.org/pkg/time/#ParseDuration minTTL: "30s"