This commit is contained in:
2024-05-24 09:19:55 +02:00
parent 8a08647dd6
commit e37f661699
4 changed files with 12 additions and 10 deletions

View File

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

View File

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

View File

@@ -20,6 +20,7 @@ providers:
authentik: true
kubectl: true
postgresql: null
mysql: null
restapi: null
http: true
gitea: null

View File

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