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

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

View File

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

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