From fe5c0246e504517417ebe3ca76cb3df983e1d23e Mon Sep 17 00:00:00 2001 From: Victor Date: Fri, 20 May 2022 11:40:28 +0200 Subject: [PATCH] renovate: convert to config.js --- .../apps/gitops/renovate/renovate-infrastructure.yaml | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/flux/cluster/apps/gitops/renovate/renovate-infrastructure.yaml b/flux/cluster/apps/gitops/renovate/renovate-infrastructure.yaml index bcd980c..a7a3979 100644 --- a/flux/cluster/apps/gitops/renovate/renovate-infrastructure.yaml +++ b/flux/cluster/apps/gitops/renovate/renovate-infrastructure.yaml @@ -37,7 +37,7 @@ spec: - name: RENOVATE_GIT_AUTHOR value: "Renovate Bot " - name: RENOVATE_CONFIG_FILE - value: "/opt/renovate/config.json" + value: "/opt/renovate/config.js" - name: RENOVATE_BASE_DIR value: "/tmp/renovate" envFrom: @@ -51,9 +51,8 @@ metadata: name: renovate-config namespace: gitops data: - config.json: |- - { - "extends": ["github>whitesource/merge-confidence:beta"], + config.js: |- + module.exports = { "repositories": ["v/infrastructure"], "flux": { "fileMatch": ["flux/.+\\.yaml$"] @@ -81,4 +80,4 @@ data: ] } ] - } + };