From 7b3ba1a8f419275367d54f6429248e36dfb01fdb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Huss?= Date: Sat, 12 Aug 2023 15:05:25 +0200 Subject: [PATCH] fix --- share/dns/config.tf | 2 +- share/dns/index.yaml | 26 +++++++++++++------------- 2 files changed, 14 insertions(+), 14 deletions(-) diff --git a/share/dns/config.tf b/share/dns/config.tf index 917938a..010c71c 100644 --- a/share/dns/config.tf +++ b/share/dns/config.tf @@ -41,7 +41,7 @@ locals { ], z.domain!=""?[format("%s. IN A %s", z.name, z.domain)]:[], z.domain6!=""?[format("%s. IN AAAA %s", z.name, z.domain6)]:[], - [for k,v in z.TXT: format("%s IN TXT %s", k, v)], + [for k,v in z.txt: format("%s IN TXT %s", k, v)], [for k,v in z.hosts: format("%s IN A %s", k, v)], [for k,v in z.hosts6: format("%s IN AAAA %s", k, v)], [for k,v in z.alias: format("%s IN CNAME %s", k, v)], diff --git a/share/dns/index.yaml b/share/dns/index.yaml index 70301ed..cad5960 100644 --- a/share/dns/index.yaml +++ b/share/dns/index.yaml @@ -6,16 +6,21 @@ metadata: name: dns description: null options: - forward: - default: 192.168.1.254 - examples: - - 192.168.1.254 - type: string sub-domain: default: dns examples: - dns type: string + domain: + default: your-company + examples: + - your-company + type: string + domain-name: + default: your_company.com + examples: + - your_company.com + type: string image: default: pullPolicy: IfNotPresent @@ -93,15 +98,10 @@ options: type: string type: object type: array - domain-name: - default: your_company.com + forward: + default: 192.168.1.254 examples: - - your_company.com - type: string - domain: - default: your-company - examples: - - your-company + - 192.168.1.254 type: string dependencies: [] providers: