From e8f006659e91cd8376f781bd08c5df051763d236 Mon Sep 17 00:00:00 2001 From: "CanbiZ (MickLesk)" <47820557+MickLesk@users.noreply.github.com> Date: Thu, 30 Apr 2026 09:46:14 +0200 Subject: [PATCH] Fetch authentik default.yml; update app name Download authentik's lib/default.yml for the specified AUTHENTIK_VERSION before running go mod/download and build (added curl to ct/authentik.sh and install/authentik-install.sh to write to /opt/authentik/authentik/lib/default.yml). Also normalize Bitfocus Companion app name to "Bitfocus-Companion" in ct/bitfocus-companion.sh. --- ct/authentik.sh | 2 ++ ct/bitfocus-companion.sh | 2 +- install/authentik-install.sh | 2 ++ 3 files changed, 5 insertions(+), 1 deletion(-) diff --git a/ct/authentik.sh b/ct/authentik.sh index e302ea78..89838078 100644 --- a/ct/authentik.sh +++ b/ct/authentik.sh @@ -71,6 +71,8 @@ function update_script() { msg_info "Updating go proxy" cd /opt/authentik + $STD curl -fsSL "https://raw.githubusercontent.com/goauthentik/authentik/refs/tags/${AUTHENTIK_VERSION}/authentik/lib/default.yml" \ + -o /opt/authentik/authentik/lib/default.yml export CGO_ENABLED="1" $STD go mod download $STD go build -o /opt/authentik/authentik-server ./cmd/server diff --git a/ct/bitfocus-companion.sh b/ct/bitfocus-companion.sh index feb9a414..2a951cd5 100644 --- a/ct/bitfocus-companion.sh +++ b/ct/bitfocus-companion.sh @@ -5,7 +5,7 @@ source <(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxV # License: MIT | https://github.com/community-scripts/ProxmoxVED/raw/main/LICENSE # Source: https://github.com/bitfocus/companion -APP="Bitfocus Companion" +APP="Bitfocus-Companion" var_tags="${var_tags:-automation;media}" var_cpu="${var_cpu:-2}" var_ram="${var_ram:-512}" diff --git a/install/authentik-install.sh b/install/authentik-install.sh index 627e31a5..4a8d8a4f 100644 --- a/install/authentik-install.sh +++ b/install/authentik-install.sh @@ -80,6 +80,8 @@ msg_ok "Web installed" msg_info "Setup go proxy" cd /opt/authentik +$STD curl -fsSL "https://raw.githubusercontent.com/goauthentik/authentik/refs/tags/${AUTHENTIK_VERSION}/authentik/lib/default.yml" \ + -o /opt/authentik/authentik/lib/default.yml export CGO_ENABLED="1" $STD go mod download $STD go build -o /opt/authentik/authentik-server ./cmd/server