From 1a7295d39701b20cb97767ac16967f67fd526b95 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Huss?= Date: Wed, 26 Jul 2023 13:50:03 +0200 Subject: [PATCH] fix --- share/dns/config.tf | 1 - share/dns/index.yaml | 78 ++++++++++++++++++++++---------------------- 2 files changed, 39 insertions(+), 40 deletions(-) diff --git a/share/dns/config.tf b/share/dns/config.tf index 7a07d35..d4e7488 100644 --- a/share/dns/config.tf +++ b/share/dns/config.tf @@ -15,7 +15,6 @@ locals { class denial error } kubernetes cluster.local - k8s_external ns.${var.domain-name} prometheus 0.0.0.0:9153 forward . ${var.forward} cache 30 diff --git a/share/dns/index.yaml b/share/dns/index.yaml index 5b52c23..8dfba40 100644 --- a/share/dns/index.yaml +++ b/share/dns/index.yaml @@ -6,6 +6,45 @@ metadata: name: dns description: null options: + sub-domain: + default: dns + examples: + - dns + type: string + domain-name: + default: your_company.com + examples: + - your_company.com + type: string + image: + default: + pullPolicy: IfNotPresent + registry: docker.io + repository: coredns/coredns + tag: 1.10.1 + examples: + - pullPolicy: IfNotPresent + registry: docker.io + repository: coredns/coredns + tag: 1.10.1 + properties: + pullPolicy: + default: IfNotPresent + enum: + - Always + - Never + - IfNotPresent + type: string + registry: + default: docker.io + type: string + repository: + default: coredns/coredns + type: string + tag: + default: 1.10.1 + type: string + type: object domain: default: your-company examples: @@ -40,45 +79,6 @@ options: type: string type: object type: array - image: - default: - pullPolicy: IfNotPresent - registry: docker.io - repository: coredns/coredns - tag: 1.10.1 - examples: - - pullPolicy: IfNotPresent - registry: docker.io - repository: coredns/coredns - tag: 1.10.1 - properties: - pullPolicy: - default: IfNotPresent - enum: - - Always - - Never - - IfNotPresent - type: string - registry: - default: docker.io - type: string - repository: - default: coredns/coredns - type: string - tag: - default: 1.10.1 - type: string - type: object - sub-domain: - default: dns - examples: - - dns - type: string - domain-name: - default: your_company.com - examples: - - your_company.com - type: string dependencies: [] providers: kubernetes: true