fix
This commit is contained in:
@@ -35,7 +35,7 @@ resource "kubectl_manifest" "saml_certificate" {
|
||||
labels: ${jsonencode(var.labels)}
|
||||
spec:
|
||||
secretName: "${var.instance}-${var.component}-saml"
|
||||
dnsNames: ${jsonencode(var.dns-names)}
|
||||
dnsNames: ${jsonencode(var.dns_names)}
|
||||
issuerRef:
|
||||
name: "self-sign"
|
||||
kind: "ClusterIssuer"
|
||||
@@ -47,7 +47,7 @@ resource "authentik_provider_saml" "prj" {
|
||||
name = "${var.component}-${var.instance}-saml"
|
||||
authentication_flow = data.authentik_flow.default-authentication-flow.id
|
||||
authorization_flow = data.authentik_flow.default-authorization-flow.id
|
||||
acs_url = "https://${var.dns-names[0]}/${var.acs-path}"
|
||||
acs_url = "https://${var.dns_names[0]}/${var.acs-path}"
|
||||
property_mappings = data.authentik_property_mapping_saml.saml_maps.ids
|
||||
name_id_mapping = data.authentik_property_mapping_saml.saml_name.id
|
||||
signing_kp = data.authentik_certificate_key_pair.generated.id
|
||||
|
||||
@@ -4,7 +4,7 @@ variable "component" {
|
||||
variable "instance" {
|
||||
type = string
|
||||
}
|
||||
variable "dns-names" {
|
||||
variable "dns_names" {
|
||||
type = list(string)
|
||||
}
|
||||
variable "acs-path" {
|
||||
|
||||
Reference in New Issue
Block a user