This commit is contained in:
2024-05-24 12:12:12 +02:00
parent 79a90aa80e
commit caf5235c3e

View File

@@ -1,3 +1,9 @@
data "kubernetes_secret_v1" "authentik" {
metadata {
name = "authentik"
namespace = "${var.domain}-auth"
}
}
locals {
authentik_url = "http://authentik.${var.domain}-auth.svc"
authentik_token = data.kubernetes_secret_v1.authentik.data["AUTHENTIK_BOOTSTRAP_TOKEN"]