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

@@ -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
}