From 89c93646d41014bbdee9c8b01400795d895335d1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Huss?= Date: Wed, 26 Jul 2023 12:52:31 +0200 Subject: [PATCH] fix --- share/dns/config.tf | 2 +- share/dns/index.yaml | 10 +++++----- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/share/dns/config.tf b/share/dns/config.tf index 08fb543..a879293 100644 --- a/share/dns/config.tf +++ b/share/dns/config.tf @@ -25,7 +25,7 @@ locals { files = merge({ "Corefile" = join("\n", concat([local.begin-core],[for z in var.zones: format("file /etc/coredns/%s.db %s", z.name,z.name)],[local.end-core])) },[for z in var.zones: { - "${z.name}" = join("\n", concat([ + "${z.name}.db" = join("\n", concat([ "$TTL 60", "$ORIGIN ${z.name}.", local.soa-ns diff --git a/share/dns/index.yaml b/share/dns/index.yaml index 3077df5..41aa58a 100644 --- a/share/dns/index.yaml +++ b/share/dns/index.yaml @@ -64,16 +64,16 @@ options: type: string type: object type: array - domain-name: - default: your_company.com - examples: - - your_company.com - type: string sub-domain: default: dns examples: - dns type: string + domain-name: + default: your_company.com + examples: + - your_company.com + type: string dependencies: [] providers: kubernetes: true