fix
This commit is contained in:
@@ -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)
|
||||
|
||||
@@ -7,7 +7,7 @@ variable "instance" {
|
||||
variable "icon" {
|
||||
type = string
|
||||
}
|
||||
variable "app_group" {
|
||||
variable "app-group" {
|
||||
type = string
|
||||
}
|
||||
variable "protocol_provider" {
|
||||
|
||||
@@ -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)}
|
||||
|
||||
@@ -13,7 +13,7 @@ variable "domain" {
|
||||
variable "namespace" {
|
||||
type = string
|
||||
}
|
||||
variable "ingress_class" {
|
||||
variable "ingress-class" {
|
||||
type = string
|
||||
}
|
||||
variable "labels" {
|
||||
|
||||
@@ -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)}
|
||||
|
||||
@@ -10,7 +10,7 @@ variable "namespace" {
|
||||
variable "issuer" {
|
||||
type = string
|
||||
}
|
||||
variable "ingress_class" {
|
||||
variable "ingress-class" {
|
||||
type = string
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user