This commit is contained in:
2023-10-19 13:07:09 +02:00
parent fb3e9f56eb
commit a6ae543cfe
40 changed files with 963 additions and 1080 deletions

View File

@@ -6,16 +6,6 @@ metadata:
name: okd
description: null
options:
sub-domain:
default: okd
examples:
- okd
type: string
app-group:
default: infra
examples:
- infra
type: string
images:
default:
okd:
@@ -64,31 +54,41 @@ options:
examples:
- your_company.com
type: string
sub-domain:
default: okd
examples:
- okd
type: string
cluster-admin:
default: false
examples:
- false
type: boolean
namespaces:
default: []
items:
type: string
type: array
issuer:
default: letsencrypt-prod
examples:
- letsencrypt-prod
type: string
ingress-class:
default: traefik
examples:
- traefik
type: string
namespaces:
default: []
items:
type: string
type: array
domain:
default: your-company
examples:
- your-company
type: string
issuer:
default: letsencrypt-prod
examples:
- letsencrypt-prod
type: string
app-group:
default: infra
examples:
- infra
type: string
dependencies:
- dist: null
category: share

View File

@@ -30,14 +30,14 @@ module "service" {
module "ingress" {
source = "/dist/modules/ingress"
component = var.component
component = ""
instance = var.instance
namespace = var.namespace
issuer = var.issuer
ingress-class = var.ingress-class
labels = local.common-labels
dns-names = local.dns-names
middlewares = ["${var.instance}-https", "forward-${local.app-name}"]
middlewares = ["forward-${local.app-name}"]
service = local.service
providers = {
kubectl = kubectl