Fix
This commit is contained in:
@@ -37,7 +37,7 @@ resource "kubectl_manifest" "dns" {
|
||||
namespace: "${kubernetes_namespace_v1.infra-ns.name}"
|
||||
labels: ${jsonencode(local.common-labels)}
|
||||
spec:
|
||||
distrib: "core"
|
||||
distrib: "${var.distributions.domain}"
|
||||
category: "share"
|
||||
component: "dns"
|
||||
options: ${jsonencode(merge(local.global, local.dns))}
|
||||
@@ -55,7 +55,7 @@ resource "kubectl_manifest" "traefik" {
|
||||
namespace: "${var.traefik.namespace}"
|
||||
labels: ${jsonencode(local.common-labels)}
|
||||
spec:
|
||||
distrib: "core"
|
||||
distrib: "${var.distributions.domain}"
|
||||
category: "apps"
|
||||
component: "traefik-ui"
|
||||
options: ${jsonencode(merge(local.global, local.traefik))}
|
||||
@@ -72,9 +72,9 @@ resource "kubectl_manifest" "traefik" {
|
||||
namespace: "default"
|
||||
labels: ${jsonencode(local.common-labels)}
|
||||
spec:
|
||||
distrib: "core"
|
||||
distrib: "${var.distributions.domain}"
|
||||
category: "apps"
|
||||
component: "k8s-ui"
|
||||
component: "k8s-api"
|
||||
options: ${jsonencode(merge(local.global, local.api))}
|
||||
EOF
|
||||
}
|
||||
|
||||
@@ -6,16 +6,61 @@ metadata:
|
||||
name: domain-infra
|
||||
description: null
|
||||
options:
|
||||
ingress-class:
|
||||
default: traefik
|
||||
distributions:
|
||||
default:
|
||||
core: core
|
||||
domain: domain
|
||||
examples:
|
||||
- traefik
|
||||
- core: core
|
||||
domain: domain
|
||||
properties:
|
||||
core:
|
||||
default: core
|
||||
type: string
|
||||
domain:
|
||||
default: domain
|
||||
type: string
|
||||
type: object
|
||||
api:
|
||||
default:
|
||||
enable: false
|
||||
examples:
|
||||
- enable: false
|
||||
properties:
|
||||
enable:
|
||||
default: false
|
||||
type: boolean
|
||||
type: object
|
||||
domain:
|
||||
default: your-company
|
||||
examples:
|
||||
- your-company
|
||||
type: string
|
||||
issuer:
|
||||
default: letsencrypt-prod
|
||||
examples:
|
||||
- letsencrypt-prod
|
||||
type: string
|
||||
domain-name:
|
||||
default: your_company.com
|
||||
examples:
|
||||
- your_company.com
|
||||
type: string
|
||||
dns:
|
||||
default:
|
||||
enable: false
|
||||
examples:
|
||||
- enable: false
|
||||
properties:
|
||||
enable:
|
||||
default: false
|
||||
type: boolean
|
||||
type: object
|
||||
ingress-class:
|
||||
default: traefik
|
||||
examples:
|
||||
- traefik
|
||||
type: string
|
||||
traefik:
|
||||
default:
|
||||
enable: false
|
||||
@@ -31,36 +76,6 @@ options:
|
||||
default: traefik
|
||||
type: string
|
||||
type: object
|
||||
domain:
|
||||
default: your-company
|
||||
examples:
|
||||
- your-company
|
||||
type: string
|
||||
api:
|
||||
default:
|
||||
enable: false
|
||||
examples:
|
||||
- enable: false
|
||||
properties:
|
||||
enable:
|
||||
default: false
|
||||
type: boolean
|
||||
type: object
|
||||
issuer:
|
||||
default: letsencrypt-prod
|
||||
examples:
|
||||
- letsencrypt-prod
|
||||
type: string
|
||||
dns:
|
||||
default:
|
||||
enable: false
|
||||
examples:
|
||||
- enable: false
|
||||
properties:
|
||||
enable:
|
||||
default: false
|
||||
type: boolean
|
||||
type: object
|
||||
dependencies: []
|
||||
providers:
|
||||
kubernetes: true
|
||||
|
||||
Reference in New Issue
Block a user