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.
This commit is contained in:
CanbiZ (MickLesk)
2026-04-30 09:46:14 +02:00
parent e531e0372c
commit e8f006659e
3 changed files with 5 additions and 1 deletions

View File

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