This commit is contained in:
2024-01-26 10:19:34 +01:00
parent e8ad81c3db
commit 94e78fa7e9
187 changed files with 3355 additions and 2857 deletions

View File

@@ -19,7 +19,7 @@ resource "authentik_group" "subgroup" {
resource "authentik_application" "prj_app" {
name = "${var.instance}"
slug = "${var.component}-${var.instance}"
group = var.app_group
group = var.app-group
protocol_provider = var.protocol_provider
backchannel_providers = var.backchannel_providers
meta_launch_url = format("https://%s", var.dns_name)

View File

@@ -7,7 +7,7 @@ variable "instance" {
variable "icon" {
type = string
}
variable "app_group" {
variable "app-group" {
type = string
}
variable "protocol_provider" {

View File

@@ -28,7 +28,7 @@ resource "kubectl_manifest" "prj_ingress_icon" {
namespace: "${var.namespace}"
labels: ${jsonencode(var.labels)}
spec:
ingressClassName: "${var.ingress_class}"
ingressClassName: "${var.ingress-class}"
rules: ${jsonencode(local.rules-icons)}
tls:
- hosts: ${jsonencode(var.dns_names)}

View File

@@ -13,7 +13,7 @@ variable "domain" {
variable "namespace" {
type = string
}
variable "ingress_class" {
variable "ingress-class" {
type = string
}
variable "labels" {

View File

@@ -61,7 +61,7 @@ resource "kubectl_manifest" "prj_ingress" {
annotations:
"traefik.ingress.kubernetes.io/router.middlewares": "${join(",", [for m in concat(["${var.instance}-https"],var.middlewares) : format("%s-%s@kubernetescrd", var.namespace, m)])}"
spec:
ingressClassName: "${var.ingress_class}"
ingressClassName: "${var.ingress-class}"
rules: ${jsonencode(local.rules)}
tls:
- hosts: ${jsonencode(var.dns_names)}

View File

@@ -10,7 +10,7 @@ variable "namespace" {
variable "issuer" {
type = string
}
variable "ingress_class" {
variable "ingress-class" {
type = string
}