From 4d8e42f0f6a740f0130f1a903ccd996358abe1eb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Huss?= Date: Fri, 26 Jan 2024 16:23:36 +0100 Subject: [PATCH] fix --- apps/traefik-ui/index.yaml | 20 ++++++++++---------- apps/traefik-ui/presentation.tf | 2 +- 2 files changed, 11 insertions(+), 11 deletions(-) diff --git a/apps/traefik-ui/index.yaml b/apps/traefik-ui/index.yaml index 2a433f9..203274a 100644 --- a/apps/traefik-ui/index.yaml +++ b/apps/traefik-ui/index.yaml @@ -11,31 +11,31 @@ options: examples: - traefik type: string - issuer: - default: letsencrypt-prod - examples: - - letsencrypt-prod - type: string domain: default: your-company examples: - your-company type: string - ingress_class: - default: traefik - examples: - - traefik - type: string app_group: default: infra examples: - infra type: string + issuer: + default: letsencrypt-prod + examples: + - letsencrypt-prod + type: string domain_name: default: your_company.com examples: - your_company.com type: string + ingress_class: + default: traefik + examples: + - traefik + type: string dependencies: - dist: null category: share diff --git a/apps/traefik-ui/presentation.tf b/apps/traefik-ui/presentation.tf index eea0a4b..68eda6f 100644 --- a/apps/traefik-ui/presentation.tf +++ b/apps/traefik-ui/presentation.tf @@ -8,7 +8,7 @@ locals { Authorization = "Bearer ${data.kubernetes_secret_v1.authentik.data["AUTHENTIK_BOOTSTRAP_TOKEN"]}" } service = { - "name" = "${var.instance}${var.component==""?"":"-"}${var.component}" + "name" = "${var.component}-${var.instance}" "port" = { "number" = 80 }