From 7e508f906f1fc6a974fcd8382e14ffaeaaa7bba2 Mon Sep 17 00:00:00 2001 From: ace Date: Mon, 6 May 2024 03:00:14 +0300 Subject: [PATCH] fix core infra dns --- roles/internal-dns/defaults/main.yaml | 2 +- roles/local-dns/defaults/main.yaml | 2 +- roles/service-dns/defaults/main.yaml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) 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"