From e37f6616997ef355d509c500cc1f72cbe78af0e8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Huss?= Date: Fri, 24 May 2024 09:19:55 +0200 Subject: [PATCH] fix --- share/authentik-forward/index.yaml | 15 ++++++++------- share/authentik-forward/outpost-forward.tf | 4 ++-- share/authentik-ldap/index.yaml | 1 + share/authentik-ldap/outpost-ldap.tf | 2 +- 4 files changed, 12 insertions(+), 10 deletions(-) diff --git a/share/authentik-forward/index.yaml b/share/authentik-forward/index.yaml index 53b8ea9..24cfead 100644 --- a/share/authentik-forward/index.yaml +++ b/share/authentik-forward/index.yaml @@ -11,23 +11,23 @@ options: examples: - your-company type: string - issuer: - default: letsencrypt-prod - examples: - - letsencrypt-prod - type: string domain_name: default: your_company.com examples: - your_company.com type: string - sub_domain: - default: null ingress_class: default: traefik examples: - traefik type: string + issuer: + default: letsencrypt-prod + examples: + - letsencrypt-prod + type: string + sub_domain: + default: null dependencies: - dist: null category: share @@ -37,6 +37,7 @@ providers: authentik: true kubectl: null postgresql: null + mysql: null restapi: null http: true gitea: null diff --git a/share/authentik-forward/outpost-forward.tf b/share/authentik-forward/outpost-forward.tf index d4cd993..183979c 100644 --- a/share/authentik-forward/outpost-forward.tf +++ b/share/authentik-forward/outpost-forward.tf @@ -33,8 +33,8 @@ data "authentik_flow" "default-authorization-flow" { resource "authentik_provider_proxy" "provider_forward" { name = "authentik-forward-provider" - internal_host = "http://authentik" - external_host = "http://authentik" + internal_host = "http://authentik-authentik" + external_host = "http://authentik-authentik" authorization_flow = data.authentik_flow.default-authorization-flow.id } diff --git a/share/authentik-ldap/index.yaml b/share/authentik-ldap/index.yaml index b377d54..36f30c1 100644 --- a/share/authentik-ldap/index.yaml +++ b/share/authentik-ldap/index.yaml @@ -20,6 +20,7 @@ providers: authentik: true kubectl: true postgresql: null + mysql: null restapi: null http: true gitea: null diff --git a/share/authentik-ldap/outpost-ldap.tf b/share/authentik-ldap/outpost-ldap.tf index e0b97fa..ddf04d5 100644 --- a/share/authentik-ldap/outpost-ldap.tf +++ b/share/authentik-ldap/outpost-ldap.tf @@ -9,7 +9,7 @@ locals { //TODO: trouver un moyen d'attendre que le service soit ready data "http" "get_ldap_outpost" { depends_on = [authentik_provider_ldap.provider_ldap] - url = "http://authentik.${var.namespace}.svc/api/v3/outposts/instances/?name__iexact=ldap" + url = "http://authentik-authentik.${var.namespace}.svc/api/v3/outposts/instances/?name__iexact=ldap" method = "GET" request_headers = local.request_headers lifecycle {