From 7386b54a460ed8e49955924b38f812fce3cd0e30 Mon Sep 17 00:00:00 2001 From: V-Paranoiaque Date: Wed, 24 Sep 2025 21:12:16 +0200 Subject: [PATCH] Fix env vars --- helm/gitea-mirror/templates/configmap.yaml | 7 ++++--- helm/gitea-mirror/values.yaml | 1 + 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/helm/gitea-mirror/templates/configmap.yaml b/helm/gitea-mirror/templates/configmap.yaml index 4451772..0455d14 100644 --- a/helm/gitea-mirror/templates/configmap.yaml +++ b/helm/gitea-mirror/templates/configmap.yaml @@ -9,11 +9,12 @@ data: NODE_ENV: {{ $gm.nodeEnv | quote }} # Core configuration DATABASE_URL: {{ $gm.core.databaseUrl | quote }} - BETTER_AUTH_SECRET: {{ $gm.core.be | quote }} - BETTER_AUTH_URL: {{ $gm.betterAuthSecret | quote }} + BETTER_AUTH_SECRET: {{ $gm.core.betterAuthSecret | quote }} + BETTER_AUTH_URL: {{ $gm.core.betterAuthUrl | quote }} + BETTER_AUTH_TRUSTED_ORIGINS: {{ $gm.core.betterAuthTrustedOrigins | quote }} # GitHub Config GITHUB_USERNAME: {{ $gm.github.username | quote }} - PRIVATE_REPOSITORIES: {{ $gm.privateRepositories | quote }} + PRIVATE_REPOSITORIES: {{ $gm.github.privateRepositories | quote }} MIRROR_STARRED: {{ $gm.mirror.starred | quote }} SKIP_FORKS: {{ $gm.github.skipForks | quote }} SKIP_STARRED_ISSUES: {{ $gm.github.skipStarredIssues | quote }} diff --git a/helm/gitea-mirror/values.yaml b/helm/gitea-mirror/values.yaml index 6cad53c..b0d2ff6 100644 --- a/helm/gitea-mirror/values.yaml +++ b/helm/gitea-mirror/values.yaml @@ -117,6 +117,7 @@ gitea-mirror: encryptionSecret: "" betterAuthSecret: "" betterAuthUrl: "http://localhost:4321" + betterAuthTrustedOrigins: "http://localhost:4321" github: username: ""