From 46ada84dcf439bd86101b46501bec43d03a73ee7 Mon Sep 17 00:00:00 2001 From: harkon Date: Tue, 2 Dec 2025 16:04:19 +0200 Subject: [PATCH] fix: move blueprints to /blueprints/custom to fix import error --- infra/base/infrastructure.yaml | 4 ++-- scripts/setup-authentik.sh | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/infra/base/infrastructure.yaml b/infra/base/infrastructure.yaml index a7c699f..6de22e1 100644 --- a/infra/base/infrastructure.yaml +++ b/infra/base/infrastructure.yaml @@ -105,7 +105,7 @@ services: - apa-authentik-db - apa-authentik-redis volumes: - - ./authentik:/templates + - ./authentik:/blueprints/custom labels: - "traefik.enable=true" - "traefik.constraint-label=app" @@ -135,7 +135,7 @@ services: - apa-authentik-db - apa-authentik-redis volumes: - - ./authentik:/templates + - ./authentik:/blueprints/custom apa-authentik-outpost: image: ghcr.io/goauthentik/proxy:2025.8.3 diff --git a/scripts/setup-authentik.sh b/scripts/setup-authentik.sh index e33841f..81c4158 100755 --- a/scripts/setup-authentik.sh +++ b/scripts/setup-authentik.sh @@ -122,7 +122,7 @@ import_blueprint() { # Create blueprint instance local blueprint_response local blueprint_path - blueprint_path="/templates/$(basename "$BOOTSTRAP_FILE")" + blueprint_path="/blueprints/custom/$(basename "$BOOTSTRAP_FILE")" blueprint_response=$(curl -k -X POST "$AUTHENTIK_API_URL/managed/blueprints/" \ -H "Content-Type: application/json" \