From 67b99969112b8862b5ddbe5a340b946943cce36b Mon Sep 17 00:00:00 2001 From: mr-forust Date: Wed, 23 Sep 2026 13:06:19 +0200 Subject: [PATCH] fix(renovate): default endpoint to gitea API URL Fall back to https://gitea.forust.xyz/api/v1 when RENOVATE_ENDPOINT is unset, in both local config and in-cluster ConfigMap. --- renovate/config.js | 2 +- renovate/k8s/configmap.yaml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/renovate/config.js b/renovate/config.js index fb01dd9..8500f74 100644 --- a/renovate/config.js +++ b/renovate/config.js @@ -1,6 +1,6 @@ module.exports = { platform: 'gitea', - endpoint: process.env.RENOVATE_ENDPOINT, + endpoint: process.env.RENOVATE_ENDPOINT || 'https://gitea.forust.xyz/api/v1', enabledManagers: ['docker-compose', 'kubernetes', 'helm-values'], 'helm-values': { managerFilePatterns: ['/k8s/.+values\\.ya?ml$/'], diff --git a/renovate/k8s/configmap.yaml b/renovate/k8s/configmap.yaml index ee8bfcb..bbba610 100644 --- a/renovate/k8s/configmap.yaml +++ b/renovate/k8s/configmap.yaml @@ -7,7 +7,7 @@ data: config.js: | module.exports = { platform: 'gitea', - endpoint: process.env.RENOVATE_ENDPOINT, + endpoint: process.env.RENOVATE_ENDPOINT || 'https://gitea.forust.xyz/api/v1', enabledManagers: ['docker-compose', 'kubernetes', 'helm-values'], 'helm-values': { managerFilePatterns: ['/k8s/.+values\\.ya?ml$/'],