This commit is contained in:
2024-01-19 16:45:54 +01:00
parent 576737cdef
commit 88a73e2a2d
2 changed files with 27 additions and 27 deletions

View File

@@ -6,36 +6,21 @@ metadata:
name: gramo
description: null
options:
managed:
default: false
issuer:
default: letsencrypt-prod
examples:
- false
type: boolean
cluster-admin:
default: false
examples:
- false
type: boolean
domain:
default: your-company
examples:
- your-company
type: string
app-group:
default: infra
examples:
- infra
type: string
domain-name:
default: your_company.com
examples:
- your_company.com
- letsencrypt-prod
type: string
namespaces:
default: []
items:
type: string
type: array
app-group:
default: infra
examples:
- infra
type: string
images:
default:
gramo:
@@ -75,15 +60,30 @@ options:
type: string
type: object
type: object
cluster-admin:
default: false
examples:
- false
type: boolean
domain-name:
default: your_company.com
examples:
- your_company.com
type: string
managed:
default: false
examples:
- false
type: boolean
sub-domain:
default: gramo
examples:
- gramo
type: string
issuer:
default: letsencrypt-prod
domain:
default: your-company
examples:
- letsencrypt-prod
- your-company
type: string
ingress-class:
default: traefik

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}"
"port" = {
"number" = 80
}