This commit is contained in:
2024-01-26 16:20:37 +01:00
parent 92825b5107
commit e07baec28d
6 changed files with 79 additions and 79 deletions

View File

@@ -6,26 +6,41 @@ metadata:
name: okd
description: null
options:
domain:
default: your-company
examples:
- your-company
type: string
issuer:
default: letsencrypt-prod
examples:
- letsencrypt-prod
type: string
managed:
default: false
examples:
- false
type: boolean
sub-domain:
default: okd
examples:
- okd
type: string
domain_name:
default: your_company.com
examples:
- your_company.com
type: string
app_group:
default: infra
examples:
- infra
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
images:
default:
okd:
@@ -65,31 +80,16 @@ options:
type: string
type: object
type: object
domain:
default: your-company
examples:
- your-company
type: string
app_group:
default: infra
examples:
- infra
type: string
ingress_class:
default: traefik
examples:
- traefik
type: string
cluster-admin:
managed:
default: false
examples:
- false
type: boolean
namespaces:
default: []
items:
type: string
type: array
dependencies:
- dist: null
category: share

View File

@@ -8,7 +8,7 @@ locals {
Authorization = "Bearer ${data.kubernetes_secret_v1.authentik.data["AUTHENTIK_BOOTSTRAP_TOKEN"]}"
}
service = {
"name" = "${var.component}-${var.instance}"
"name" = "${var.instance}${var.component==""?"":"-"}${var.component}"
"port" = {
"number" = 80
}